[DoctrineMongoDBBundle] fixed unit tests
This commit is contained in:
parent
cb445b9ca0
commit
2889e91c27
@ -24,7 +24,7 @@
|
|||||||
<exclude>
|
<exclude>
|
||||||
<directory>./src/Symfony/Bundle/*/Resources</directory>
|
<directory>./src/Symfony/Bundle/*/Resources</directory>
|
||||||
<directory>./src/Symfony/Component/*/Resources</directory>
|
<directory>./src/Symfony/Component/*/Resources</directory>
|
||||||
<file>./src/Symfony/Component/HttpKernel/bootstrap.php</file>
|
<file>./src/Symfony/Component/HttpKernel/bootstrap*</file>
|
||||||
</exclude>
|
</exclude>
|
||||||
</whitelist>
|
</whitelist>
|
||||||
</filter>
|
</filter>
|
||||||
|
@ -48,7 +48,7 @@ abstract class AbstractMongoDBExtensionTest extends TestCase
|
|||||||
$this->assertEquals('Doctrine\ODM\MongoDB\Mapping\Driver\XmlDriver', $container->getParameter('doctrine.odm.mongodb.metadata.xml_class'));
|
$this->assertEquals('Doctrine\ODM\MongoDB\Mapping\Driver\XmlDriver', $container->getParameter('doctrine.odm.mongodb.metadata.xml_class'));
|
||||||
$this->assertEquals('Doctrine\ODM\MongoDB\Mapping\Driver\YamlDriver', $container->getParameter('doctrine.odm.mongodb.metadata.yml_class'));
|
$this->assertEquals('Doctrine\ODM\MongoDB\Mapping\Driver\YamlDriver', $container->getParameter('doctrine.odm.mongodb.metadata.yml_class'));
|
||||||
|
|
||||||
$this->assertEquals('Symfony\Bundle\DoctrineMongoDBBundle\Validator\Constraints\DoctrineMongoDBUniqueValidator', $container->getParameter('doctrine_odm.mongodb.validator.unique.class'));
|
$this->assertEquals('Symfony\Bundle\DoctrineMongoDBBundle\Validator\Constraints\UniqueValidator', $container->getParameter('doctrine_odm.mongodb.validator.unique.class'));
|
||||||
|
|
||||||
$config = array(
|
$config = array(
|
||||||
'proxy_namespace' => 'MyProxies',
|
'proxy_namespace' => 'MyProxies',
|
||||||
@ -334,7 +334,7 @@ abstract class AbstractMongoDBExtensionTest extends TestCase
|
|||||||
$this->assertEquals(array(
|
$this->assertEquals(array(
|
||||||
'Namespace1\\',
|
'Namespace1\\',
|
||||||
'Namespace2\\',
|
'Namespace2\\',
|
||||||
'Symfony\Bundle\DoctrineMongoDBBundle\Validator\Constraints\\'
|
'mongodb' => 'Symfony\Bundle\DoctrineMongoDBBundle\Validator\Constraints\\',
|
||||||
), $container->getParameter('validator.annotations.namespaces'));
|
), $container->getParameter('validator.annotations.namespaces'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user