| @@ 131-137 (lines=7) @@ | ||
| 128 | $this->assertSame(['one', 'two', 'three'], $article->paragraphs); |
|
| 129 | } |
|
| 130 | ||
| 131 | public function testBoolean() |
|
| 132 | { |
|
| 133 | $article = new Article(); |
|
| 134 | $article->boolean = true; |
|
| 135 | $article = $this->persistAndReloadArticle($article); |
|
| 136 | $this->assertEquals(true, $article->boolean); |
|
| 137 | } |
|
| 138 | ||
| 139 | public function testDouble() |
|
| 140 | { |
|
| @@ 139-147 (lines=9) @@ | ||
| 136 | $this->assertEquals(new \DateTime('2016-01-01 00:00:00'), $article->date); |
|
| 137 | } |
|
| 138 | ||
| 139 | public function testBoolean() |
|
| 140 | { |
|
| 141 | $this->initGeneralArticle(); |
|
| 142 | ||
| 143 | $article = new Article(); |
|
| 144 | $article->boolean = true; |
|
| 145 | $article = $this->persistAndReloadArticle($article); |
|
| 146 | $this->assertEquals(true, $article->boolean); |
|
| 147 | } |
|
| 148 | ||
| 149 | public function testDouble() |
|
| 150 | { |
|