diff --git a/tests/Tests/ORM/ORMSetupTest.php b/tests/Tests/ORM/ORMSetupTest.php index 67377d2eb1..d5e3024034 100644 --- a/tests/Tests/ORM/ORMSetupTest.php +++ b/tests/Tests/ORM/ORMSetupTest.php @@ -19,6 +19,7 @@ use Symfony\Component\Cache\Adapter\AbstractAdapter; use Symfony\Component\Cache\Adapter\ApcuAdapter; use Symfony\Component\Cache\Adapter\ArrayAdapter; +use Symfony\Component\Cache\Adapter\NullAdapter; use function sys_get_temp_dir; @@ -68,7 +69,7 @@ public function testDisablingXmlValidationIsPossible(): void { $this->expectNotToPerformAssertions(); - ORMSetup::createXMLMetadataConfig(paths: [], isXsdValidationEnabled: false); + ORMSetup::createXMLMetadataConfig(paths: [], cache: new NullAdapter(), isXsdValidationEnabled: false); } #[RequiresPhpExtension('apcu')]