@@ 57-64 (lines=8) @@ | ||
54 | $this->assertEquals('Hello', $article->title); |
|
55 | } |
|
56 | ||
57 | public function testInteger() |
|
58 | { |
|
59 | $article = new Article(); |
|
60 | $article->integer = 45; |
|
61 | $article = $this->persistAndReloadArticle($article); |
|
62 | $this->assertEquals(45, $article->integer); |
|
63 | $this->assertInternalType('int', $article->integer); |
|
64 | } |
|
65 | ||
66 | public function testDate() |
|
67 | { |
@@ 112-121 (lines=10) @@ | ||
109 | $this->assertEquals('Hello', $article->title); |
|
110 | } |
|
111 | ||
112 | public function testInteger() |
|
113 | { |
|
114 | $this->initGeneralArticle(); |
|
115 | ||
116 | $article = new Article(); |
|
117 | $article->integer = 45; |
|
118 | $article = $this->persistAndReloadArticle($article); |
|
119 | $this->assertEquals(45, $article->integer); |
|
120 | $this->assertInternalType('int', $article->integer); |
|
121 | } |
|
122 | ||
123 | public function testDate() |
|
124 | { |