diff options
Diffstat (limited to 'tests/config/ConfigPhpTest.php')
-rw-r--r-- | tests/config/ConfigPhpTest.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/config/ConfigPhpTest.php b/tests/config/ConfigPhpTest.php index 67d878ce..7bf9fe64 100644 --- a/tests/config/ConfigPhpTest.php +++ b/tests/config/ConfigPhpTest.php | |||
@@ -3,15 +3,19 @@ namespace Shaarli\Config; | |||
3 | 3 | ||
4 | /** | 4 | /** |
5 | * Class ConfigPhpTest | 5 | * Class ConfigPhpTest |
6 | * | ||
7 | * We run tests in separate processes due to the usage for $GLOBALS | ||
8 | * which are kept between tests. | ||
9 | * @runTestsInSeparateProcesses | ||
6 | */ | 10 | */ |
7 | class ConfigPhpTest extends \PHPUnit\Framework\TestCase | 11 | class ConfigPhpTest extends \Shaarli\TestCase |
8 | { | 12 | { |
9 | /** | 13 | /** |
10 | * @var ConfigPhp | 14 | * @var ConfigPhp |
11 | */ | 15 | */ |
12 | protected $configIO; | 16 | protected $configIO; |
13 | 17 | ||
14 | public function setUp() | 18 | protected function setUp(): void |
15 | { | 19 | { |
16 | $this->configIO = new ConfigPhp(); | 20 | $this->configIO = new ConfigPhp(); |
17 | } | 21 | } |