@@ 66-72 (lines=7) @@ | ||
63 | $this->assertInternalType('int', $article->integer); |
|
64 | } |
|
65 | ||
66 | public function testDate() |
|
67 | { |
|
68 | $article = new Article(); |
|
69 | $article->date = new \DateTime('2016-01-01 00:00:00'); |
|
70 | $article = $this->persistAndReloadArticle($article); |
|
71 | $this->assertEquals(new \DateTime('2016-01-01 00:00:00'), $article->date); |
|
72 | } |
|
73 | ||
74 | public function testObject() |
|
75 | { |
@@ 123-131 (lines=9) @@ | ||
120 | $this->assertInternalType('int', $article->integer); |
|
121 | } |
|
122 | ||
123 | public function testDate() |
|
124 | { |
|
125 | $this->initGeneralArticle(); |
|
126 | ||
127 | $article = new Article(); |
|
128 | $article->date = new \DateTime('2016-01-01 00:00:00'); |
|
129 | $article = $this->persistAndReloadArticle($article); |
|
130 | $this->assertEquals(new \DateTime('2016-01-01 00:00:00'), $article->date); |
|
131 | } |
|
132 | ||
133 | public function testObject() |
|
134 | { |