diff --git a/tests/DependencyInjection/DoctrineExtensionTest.php b/tests/DependencyInjection/DoctrineExtensionTest.php index 3d838fd1..7ebce462 100644 --- a/tests/DependencyInjection/DoctrineExtensionTest.php +++ b/tests/DependencyInjection/DoctrineExtensionTest.php @@ -528,7 +528,7 @@ public function testDependencyInjectionConfigurationDefaults(): void $this->assertEquals(PhpArrayAdapter::class, $definition->getClass()); $arguments = $definition->getArguments(); - $this->assertSame('%kernel.cache_dir%/doctrine/orm/default_metadata.php', $arguments[0]); + $this->assertSame('%kernel.build_dir%/doctrine/orm/default_metadata.php', $arguments[0]); $wrappedDefinition = $arguments[1]; $this->assertSame(ArrayAdapter::class, $wrappedDefinition->getClass());