Skip to content

Commit

Permalink
removed usage of the response assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jun 23, 2010
1 parent 86f7e2f commit ec2b64a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ class HelloControllerTest extends WebTestCase
public function testIndex()
{
$client = $this->createClient();
$client->request('GET', '/hello/Fabien');
$this->assertResponseSelectExists('html:contains("Hello Fabien")');

$crawler = $client->request('GET', '/hello/Fabien');

$this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count());
}
}

0 comments on commit ec2b64a

Please sign in to comment.