File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 22
22
use ApiPlatform \Tests \Fixtures \DummyEntityFilterAnnotated ;
23
23
use ApiPlatform \Tests \Fixtures \TestBundle \Entity \DummyCar ;
24
24
use ApiPlatform \Tests \Fixtures \TestBundle \Util \AnnotationFilterExtractor ;
25
+ use Doctrine \Common \Annotations \AnnotationReader ;
25
26
use Symfony \Bundle \FrameworkBundle \Test \KernelTestCase ;
26
27
27
28
class AnnotationFilterExtractorTraitTest extends KernelTestCase
@@ -31,7 +32,7 @@ class AnnotationFilterExtractorTraitTest extends KernelTestCase
31
32
protected function setUp (): void
32
33
{
33
34
self ::bootKernel ();
34
- $ this ->extractor = new AnnotationFilterExtractor (static :: $ kernel -> getContainer ()-> get ( ' test.annotation_reader ' ));
35
+ $ this ->extractor = new AnnotationFilterExtractor (new AnnotationReader ( ));
35
36
}
36
37
37
38
public function testReadAnnotations ()
You can’t perform that action at this time.
0 commit comments