This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
use Sonata \AdminBundle \Model \AuditManagerInterface ;
18
18
use Sonata \AdminBundle \Model \ModelManagerInterface ;
19
19
use Sonata \AdminBundle \Route \PathInfoBuilder ;
20
+ use Symfony \Cmf \Bundle \SonataPhpcrAdminIntegrationBundle \Description \SonataEnhancer ;
20
21
use Symfony \Cmf \Component \Resource \Description \Description ;
21
22
use Symfony \Cmf \Component \Resource \Description \Descriptor ;
22
- use Symfony \Cmf \Component \Resource \Description \Enhancer \Sonata \AdminEnhancer ;
23
23
use Symfony \Cmf \Component \Resource \Repository \Resource \CmfResource ;
24
24
use Symfony \Component \DependencyInjection \ContainerBuilder ;
25
25
use Symfony \Component \Routing \Generator \UrlGeneratorInterface ;
@@ -69,7 +69,7 @@ public function testDescriptionProvide()
69
69
});
70
70
71
71
$ description = new Description ($ this ->resource ->reveal ());
72
- $ enhancer = new AdminEnhancer ($ this ->pool , $ this ->generator ->reveal ());
72
+ $ enhancer = new SonataEnhancer ($ this ->pool , $ this ->generator ->reveal ());
73
73
$ enhancer ->enhance ($ description );
74
74
75
75
$ this ->assertEquals ('/std_class_edit ' , $ description ->get (Descriptor::LINK_EDIT_HTML ));
You can’t perform that action at this time.
0 commit comments