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

Appearance settings

Commit 819949c

Browse filesBrowse files
committed
bug #3537 Add missing variable assignment (colinodell)
This PR was submitted for the 2.2 branch but it was merged into the 2.3 branch instead (closes #3537). Discussion ---------- Add missing variable assignment Line 41 made use of $crawler which wasn't defined. Commits ------- 8f41c15 Add missing variable assignment
2 parents d7e8262 + 4436773 commit 819949c
Copy full SHA for 819949c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎cookbook/testing/simulating_authentication.rst

Copy file name to clipboardExpand all lines: cookbook/testing/simulating_authentication.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ with a request. The following example demonstrates this technique::
3535
{
3636
$this->logIn();
3737

38-
$this->client->request('GET', '/demo/secured/hello/Fabien');
38+
$crawler = $this->client->request('GET', '/demo/secured/hello/Fabien');
3939

4040
$this->assertTrue($this->client->getResponse()->isSuccessful());
4141
$this->assertGreaterThan(0, $crawler->filter('html:contains("Hello Fabien")')->count());

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.