@@ 76-83 (lines=8) @@ | ||
73 | $this->assertEquals('Hello', $article->title); |
|
74 | } |
|
75 | ||
76 | public function testInteger() |
|
77 | { |
|
78 | $article = new Article(); |
|
79 | $article->integer = 45; |
|
80 | $article = $this->persistAndReloadArticle($article); |
|
81 | $this->assertEquals(45, $article->integer); |
|
82 | $this->assertInternalType('int', $article->integer); |
|
83 | } |
|
84 | ||
85 | public function testDate() |
|
86 | { |
@@ 118-127 (lines=10) @@ | ||
115 | $this->assertEquals('Hello', $article->title); |
|
116 | } |
|
117 | ||
118 | public function testInteger() |
|
119 | { |
|
120 | $this->initGeneralArticle(); |
|
121 | ||
122 | $article = new Article(); |
|
123 | $article->integer = 45; |
|
124 | $article = $this->persistAndReloadArticle($article); |
|
125 | $this->assertEquals(45, $article->integer); |
|
126 | $this->assertInternalType('int', $article->integer); |
|
127 | } |
|
128 | ||
129 | public function testDate() |
|
130 | { |