Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc9dc31a

Browse files
committed
minor#12798 It's needed to change the returned string in testControllerResponse (demyanovs)
This PR was submitted for the master branch but it was merged into the 4.3 branch instead (closes#12798).Discussion----------It's needed to change the returned string in testControllerResponseFollowing the documentation, we check the Calendar application and get the string "Yep, this is a leap year!" instead of "Hello Fabien".<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/roadmap for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `master` for features of unreleased versions).-->Commits-------8f96598 It's needed to change the returned string
2 parents17f8ab0 +8f96598 commitc9dc31a

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)

[8]ページ先頭

©2009-2025 Movatter.jp