1
0
mirror of synced 2025-02-20 22:23:14 +03:00

#385 #1181 DDC-3385 - aligning tests to new OnClassMetadataNotFoundEventArgs API

This commit is contained in:
Marco Pivetta 2015-01-13 20:56:40 +01:00
parent 762e798d22
commit 6debf2c909

View File

@ -348,7 +348,7 @@ class ClassMetadataFactoryTest extends \Doctrine\Tests\OrmTestCase
->will($this->returnCallback(function (OnClassMetadataNotFoundEventArgs $args) use ($metadata, $em, $test) {
$test->assertNull($args->getFoundMetadata());
$test->assertSame('Foo', $args->getClassName());
$test->assertSame($em, $args->getEntityManager());
$test->assertSame($em, $args->getObjectManager());
$args->setFoundMetadata($metadata);
}));