From bbeab3e098c5510192978df7d41894f62f29cf79 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 3 Dec 2012 20:26:27 +0100 Subject: [PATCH] A PHPUnit test was successfull must never be removed. Creating such test is useless if we removed them when they report error. When an error is reported, the PHPUnit error must be kept until the code is fixed (regression) or until the test is fixed (if code has changed in a not compatible way, should be rare). But test must not be removed. The error must be reported until fixed. --- test/phpunit/AllTests.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/phpunit/AllTests.php b/test/phpunit/AllTests.php index 6bd0dfcbd9e..0d81438bd3c 100644 --- a/test/phpunit/AllTests.php +++ b/test/phpunit/AllTests.php @@ -110,9 +110,8 @@ class AllTests require_once dirname(__FILE__).'/CommandeTest.php'; $suite->addTestSuite('CommandeTest'); - // FIXME pending correction in addline() method - //require_once dirname(__FILE__).'/CommandeFournisseurTest.php'; - //$suite->addTestSuite('CommandeFournisseurTest'); + require_once dirname(__FILE__).'/CommandeFournisseurTest.php'; + $suite->addTestSuite('CommandeFournisseurTest'); require_once dirname(__FILE__).'/ContratTest.php'; $suite->addTestSuite('ContratTest');