diff --git a/tests/ResetPasswordTestKernel.php b/tests/ResetPasswordTestKernel.php index 3d317f2..601dbe0 100644 --- a/tests/ResetPasswordTestKernel.php +++ b/tests/ResetPasswordTestKernel.php @@ -87,6 +87,8 @@ public function registerContainerConfiguration(LoaderInterface $loader): void ], 'orm' => [ 'auto_generate_proxy_classes' => true, + 'controller_resolver' => ['auto_mapping' => false], // @see https://github.com/doctrine/DoctrineBundle/pull/1762 + 'enable_lazy_ghost_objects' => true, // @see https://github.com/doctrine/DoctrineBundle/pull/1733 'auto_mapping' => true, 'mappings' => [ 'App' => [ @@ -97,6 +99,7 @@ public function registerContainerConfiguration(LoaderInterface $loader): void 'alias' => 'App', ], ], + 'report_fields_where_declared' => true, // @see https://github.com/doctrine/DoctrineBundle/pull/1661 ], ]);