Fix regression introduced with the optimization done in 15148f7, and seen only in the context of the CI

This commit is contained in:
Romain Quetiez
2023-10-27 11:21:56 +02:00
parent 15148f7d1d
commit 8fa9336568

View File

@@ -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');