Merge pull request #620 from chillu/pull/no-flush-on-tests

No flush in framework/tests/bootstrap.php (kills TDD) (for 3.0 branch)
This commit is contained in:
Ingo Schommer 2012-07-06 03:00:57 -07:00
commit c072dc4757

View File

@ -42,9 +42,6 @@ if(isset($_SERVER['argv'][2])) {
$_REQUEST = array_merge($_REQUEST, $_GET);
}
// Always flush the manifest for phpunit test runs
$_GET['flush'] = 1;
// Connect to database
require_once $frameworkPath . '/core/Core.php';
require_once $frameworkPath . '/tests/FakeController.php';
@ -65,4 +62,4 @@ $controller = new FakeController();
TestRunner::use_test_manifest();
// Remove the error handler so that PHPUnit can add its own
restore_error_handler();
restore_error_handler();