Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function testTextColumnSaveAndRetrieve2() |
||
27 | { |
||
28 | $firstArticle = new GH5804Article; |
||
29 | $firstArticle->text = 'Max'; |
||
30 | $this->_em->persist($firstArticle); |
||
31 | $this->_em->flush(); |
||
32 | |||
33 | self::assertSame(1, $firstArticle->version); |
||
34 | |||
35 | $firstArticle->text = 'Moritz'; |
||
36 | $this->_em->persist($firstArticle); |
||
37 | $this->_em->flush(); |
||
38 | |||
39 | self::assertSame(2, $firstArticle->version); |
||
40 | } |
||
41 | |||
61 |