]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/config/ConfigPhpTest.php
Compatibility with PHPUnit 9
[github/shaarli/Shaarli.git] / tests / config / ConfigPhpTest.php
index 67d878cee31cc88a61cf0cad4b92eb8d08e2b044..7bf9fe64933925d23c4f96362894c512ea918997 100644 (file)
@@ -3,15 +3,19 @@ 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
+class ConfigPhpTest extends \Shaarli\TestCase
 {
     /**
      * @var ConfigPhp
      */
     protected $configIO;
 
-    public function setUp()
+    protected function setUp(): void
     {
         $this->configIO = new ConfigPhp();
     }