@@ 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 | { |
@@ 70-77 (lines=8) @@ | ||
67 | $this->assertEquals('Hello', $article->title); |
|
68 | } |
|
69 | ||
70 | public function testInteger() |
|
71 | { |
|
72 | $article = new Article(); |
|
73 | $article->integer = 45; |
|
74 | $article = $this->persistAndReloadArticle($article); |
|
75 | $this->assertEquals(45, $article->integer); |
|
76 | $this->assertInternalType('int', $article->integer); |
|
77 | } |
|
78 | ||
79 | public function testDate() |
|
80 | { |