[2.0] DDC-197 - Extended CLOB Test-Case even more with additional update of the string, which still works on OCI8
This commit is contained in:
parent
934feace57
commit
329d095261
@ -530,8 +530,18 @@ class BasicFunctionalTest extends \Doctrine\Tests\OrmFunctionalTestCase
|
||||
|
||||
$this->_em->clear();
|
||||
|
||||
$article = $this->_em->find('Doctrine\Tests\Models\CMS\CmsArticle', $articleId);
|
||||
$this->assertEquals("Lorem ipsum dolor sunt.", $article->text);
|
||||
$articleNew = $this->_em->find('Doctrine\Tests\Models\CMS\CmsArticle', $articleId);
|
||||
$this->assertEquals("Lorem ipsum dolor sunt.", $articleNew->text);
|
||||
|
||||
$this->assertNotSame($article, $articleNew);
|
||||
|
||||
$articleNew->text = "Lorem ipsum dolor sunt. And stuff!";
|
||||
|
||||
$this->_em->flush();
|
||||
$this->_em->clear();
|
||||
|
||||
$articleNew = $this->_em->find('Doctrine\Tests\Models\CMS\CmsArticle', $articleId);
|
||||
$this->assertEquals("Lorem ipsum dolor sunt. And stuff!", $articleNew->text);
|
||||
}
|
||||
|
||||
//DRAFT OF EXPECTED/DESIRED BEHAVIOR
|
||||
|
Loading…
Reference in New Issue
Block a user