mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Revert "Make PHPUnit bootstrap add flush=1"
This reverts commit e0037967c2
.
Conflicts:
tests/travis/_ss_environment.php
This commit is contained in:
parent
0e08840ff9
commit
2dadc77e99
@ -20,7 +20,6 @@ if (!$_SERVER) $_SERVER = array();
|
||||
$frameworkPath = dirname(dirname(__FILE__));
|
||||
$frameworkDir = basename($frameworkPath);
|
||||
|
||||
$_GET['flush'] = 1;
|
||||
$_SERVER['SCRIPT_FILENAME'] = $frameworkPath . DIRECTORY_SEPARATOR . 'cli-script.php';
|
||||
$_SERVER['SCRIPT_NAME'] = '.' . DIRECTORY_SEPARATOR . $frameworkDir . DIRECTORY_SEPARATOR . 'cli-script.php';
|
||||
|
||||
@ -71,4 +70,4 @@ if(!isset($_GET['flush']) || !$_GET['flush']) {
|
||||
"Add flush=1 as an argument to discover new classes or files.\n",
|
||||
false
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user