Skip to content

Commit 965bee8

Browse files
author
floriansemm
committed
fix tests
1 parent 7055313 commit 965bee8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Tests/Integration/Bootstrap/FeatureContext.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)