Skip to content

Commit

Permalink
doctrine#385 doctrine#1181 DDC-3385 - aligning tests to new `OnClassM…
Browse files Browse the repository at this point in the history
…etadataNotFoundEventArgs` API
  • Loading branch information
Ocramius committed Jan 13, 2015
1 parent 762e798 commit 6debf2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public function testFallbackLoadingCausesEventTriggeringThatCanModifyFetchedMeta
->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);
}));
Expand Down

0 comments on commit 6debf2c

Please sign in to comment.