1
0
mirror of synced 2024-12-12 22:36:02 +03:00

[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:
beberlei 2009-12-06 23:49:30 +00:00
parent 934feace57
commit 329d095261

View File

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