Skip to content

Commit 8f96598

Browse files
demyanovsjaviereguiluz
authored andcommitted
It's needed to change the returned string
Following the documentation, we check the Calendar application and get the string "Yep, this is a leap year!" instead of "Hello Fabien".
1 parent 17f8ab0 commit 8f96598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create_framework/unit_testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Response::
183183
$response = $framework->handle(new Request());
184184

185185
$this->assertEquals(200, $response->getStatusCode());
186-
$this->assertContains('Hello Fabien', $response->getContent());
186+
$this->assertContains('Yep, this is a leap year!', $response->getContent());
187187
}
188188

189189
In this test, we simulate a route that matches and returns a simple

0 commit comments

Comments
 (0)