File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Tests/Integration/Bootstrap Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,10 @@ private function setupMetaInformationFactory()
9797 $ ormConfiguration = new Doctrine \ORM \Configuration ();
9898 $ ormConfiguration ->addEntityNamespace ('FSTest:ValidTestEntity ' , 'FS\SolrBundle\Tests\Doctrine\Mapper ' );
9999
100- $ classnameResolver = new \FS \SolrBundle \Doctrine \ClassnameResolver ();
101- $ classnameResolver ->addOrmConfiguration ($ ormConfiguration );
100+ $ knowNamespaces = new \FS \SolrBundle \Doctrine \ClassnameResolver \KnownNamespaceAliases ();
101+ $ knowNamespaces ->addEntityNamespaces ($ ormConfiguration );
102+
103+ $ classnameResolver = new \FS \SolrBundle \Doctrine \ClassnameResolver \ClassnameResolver ($ knowNamespaces );
102104
103105 $ metaFactory = new \FS \SolrBundle \Doctrine \Mapper \MetaInformationFactory ();
104106 $ metaFactory ->setClassnameResolver (
You can’t perform that action at this time.
0 commit comments