Skip to content

Commit

Permalink
fix for new doctrine
Browse files Browse the repository at this point in the history
  • Loading branch information
Gladhon committed Sep 10, 2015
1 parent 945e68c commit 5f85f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Loggable/LogTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public function testRevert()
$this->em->remove($art0);
$this->em->flush();

$art0 = $this->em->find($artclass, $artid);
$art0 = $this->em->getRepository($artclass)->findOneBy(array('id'=>$artid));
$this->assertNull($art0);
$logs = $this->logrepo->findAll();
$this->assertCount(2, $logs);
Expand Down

0 comments on commit 5f85f9f

Please sign in to comment.