diff --git a/tests/php-unit-tests/unitary-tests/core/dictTest.php b/tests/php-unit-tests/unitary-tests/core/dictTest.php index 05b7360d5..2209d28b9 100644 --- a/tests/php-unit-tests/unitary-tests/core/dictTest.php +++ b/tests/php-unit-tests/unitary-tests/core/dictTest.php @@ -97,6 +97,9 @@ PHP; public function testInitLangIfNeeded_NoApc() { + // Reset the dictionary + static::SetNonPublicStaticProperty('Dict', 'm_aData', []); + $oApcService = $this->createMock(\ApcService::class); Dict::SetApcService($oApcService); Dict::EnableCache('toto');