From 6421eb992ce1a5cbade978790318ca0959e899d5 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 12 Feb 2024 18:03:03 +0100 Subject: [PATCH] Fix the tests when doctrine/annotations is not installed --- .../DependencyInjection/StofDoctrineExtensionsExtensionTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/DependencyInjection/StofDoctrineExtensionsExtensionTest.php b/tests/DependencyInjection/StofDoctrineExtensionsExtensionTest.php index 56c39c44..4533487a 100644 --- a/tests/DependencyInjection/StofDoctrineExtensionsExtensionTest.php +++ b/tests/DependencyInjection/StofDoctrineExtensionsExtensionTest.php @@ -117,7 +117,6 @@ public function testEventConsistency(string $listener): void { $extension = new StofDoctrineExtensionsExtension(); $container = new ContainerBuilder(); - $container->register('annotation_reader', AnnotationReader::class); $config = array('orm' => array( 'default' => array($listener => true),