]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/config/ConfigPhpTest.php
Merge pull request #1569 from ArthurHoaro/fix/bad-encoding
[github/shaarli/Shaarli.git] / tests / config / ConfigPhpTest.php
index be23eea1563a909ecce1a981d1194040d8d9fe3a..a9aa80f5c89ba84690d40cbd54bc496d702b33c1 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 \PHPUnit\Framework\TestCase
 {
     /**
      * @var ConfigPhp
      */
     protected $configIO;
 
-    public function setUp()
+    protected function setUp(): void
     {
         $this->configIO = new ConfigPhp();
     }