Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d39e5f

Browse files
authored
Merge pull request symfony#122 from zrashwani/master
Fix E2eTest example to use `html()` method
2 parents 191eec3 + 36e65f3 commit 0d39e5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class E2eTest extends PantherTestCase
7373
$client = static::createPantherClient(); // Your app is automatically started using the built-in web server
7474
$crawler = $client->request('GET', '/mypage');
7575

76-
$this->assertContains('My Title', $crawler->filter('title')->text()); // You can use any PHPUnit assertion
76+
$this->assertContains('My Title', $crawler->filter('title')->html()); // You can use any PHPUnit assertion
7777
}
7878
}
7979
```

0 commit comments

Comments
 (0)