Commit 329d0952 authored by beberlei's avatar beberlei

[2.0] DDC-197 - Extended CLOB Test-Case even more with additional update of...

[2.0] DDC-197 - Extended CLOB Test-Case even more with additional update of the string, which still works on OCI8
parent 934feace
...@@ -530,8 +530,18 @@ class BasicFunctionalTest extends \Doctrine\Tests\OrmFunctionalTestCase ...@@ -530,8 +530,18 @@ class BasicFunctionalTest extends \Doctrine\Tests\OrmFunctionalTestCase
$this->_em->clear(); $this->_em->clear();
$article = $this->_em->find('Doctrine\Tests\Models\CMS\CmsArticle', $articleId); $articleNew = $this->_em->find('Doctrine\Tests\Models\CMS\CmsArticle', $articleId);
$this->assertEquals("Lorem ipsum dolor sunt.", $article->text); $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 //DRAFT OF EXPECTED/DESIRED BEHAVIOR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment