1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Added another little contains() after find() test.

This commit is contained in:
Roman S. Borschel 2010-07-09 13:18:53 +02:00
parent a1c13b58d3
commit aa6edb7903

View File

@ -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()