X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fconfig%2FConfigPhpTest.php;h=a9aa80f5c89ba84690d40cbd54bc496d702b33c1;hb=8f60e1206e45e67c96a7630d4ff94e72fe875f09;hp=67d878cee31cc88a61cf0cad4b92eb8d08e2b044;hpb=905f8675a728841b03b300d2c7dc909a1c4f7f03;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/config/ConfigPhpTest.php b/tests/config/ConfigPhpTest.php index 67d878ce..a9aa80f5 100644 --- a/tests/config/ConfigPhpTest.php +++ b/tests/config/ConfigPhpTest.php @@ -3,6 +3,10 @@ namespace Shaarli\Config; /** * Class ConfigPhpTest + * + * We run tests in separate processes due to the usage for $GLOBALS + * which are kept between tests. + * @runTestsInSeparateProcesses */ class ConfigPhpTest extends \PHPUnit\Framework\TestCase { @@ -11,7 +15,7 @@ class ConfigPhpTest extends \PHPUnit\Framework\TestCase */ protected $configIO; - public function setUp() + protected function setUp(): void { $this->configIO = new ConfigPhp(); }