File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Bundle \FrameworkBundle \Tests \DependencyInjection ;
13
13
14
14
use Doctrine \Common \Annotations \Annotation ;
15
- use Doctrine \Common \Annotations \PsrCachedReader ;
16
15
use Psr \Cache \CacheItemPoolInterface ;
17
16
use Psr \Log \LoggerAwareInterface ;
18
17
use Symfony \Bundle \FrameworkBundle \DependencyInjection \Compiler \AddAnnotationsCachedReaderPass ;
@@ -1064,7 +1063,7 @@ public function testAnnotations()
1064
1063
$ container ->compile ();
1065
1064
1066
1065
$ this ->assertEquals ($ container ->getParameter ('kernel.cache_dir ' ).'/annotations ' , $ container ->getDefinition ('annotations.filesystem_cache_adapter ' )->getArgument (2 ));
1067
- $ this ->assertSame (class_exists (PsrCachedReader::class) ? 'annotations.filesystem_cache_adapter ' : ' annotations.filesystem_cache ' , (string ) $ container ->getDefinition ('annotation_reader ' )->getArgument (1 ));
1066
+ $ this ->assertSame ('annotations.filesystem_cache_adapter ' , (string ) $ container ->getDefinition ('annotation_reader ' )->getArgument (1 ));
1068
1067
}
1069
1068
1070
1069
public function testFileLinkFormat ()
You can’t perform that action at this time.
0 commit comments