diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-13 12:05:08 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-10-13 12:05:08 +0200 |
commit | b6f678a5a1d15acf284ebcec16c905e976671ce1 (patch) | |
tree | 33c7da831482ed79c44896ef19c73c72ada84f2e /tests/config/ConfigPhpTest.php | |
parent | b14687036b9b800681197f51fdc47e62f0c88e2e (diff) | |
parent | 1c1520b6b98ab20201bfe15577782a52320339df (diff) | |
download | Shaarli-b6f678a5a1d15acf284ebcec16c905e976671ce1.tar.gz Shaarli-b6f678a5a1d15acf284ebcec16c905e976671ce1.tar.zst Shaarli-b6f678a5a1d15acf284ebcec16c905e976671ce1.zip |
Merge branch 'v0.12' into latest
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 | } |