Added another little contains() after find() test.
This commit is contained in:
parent
a1c13b58d3
commit
aa6edb7903
@ -452,6 +452,7 @@ class BasicFunctionalTest extends \Doctrine\Tests\OrmFunctionalTestCase
|
||||
|
||||
$articleNew = $this->_em->find('Doctrine\Tests\Models\CMS\CmsArticle', $articleId);
|
||||
$this->assertEquals("Lorem ipsum dolor sunt. And stuff!", $articleNew->text);
|
||||
$this->assertTrue($this->_em->contains($articleNew));
|
||||
}
|
||||
|
||||
public function testFlushDoesNotIssueUnnecessaryUpdates()
|
||||
|
Loading…
Reference in New Issue
Block a user