| author | ymh <ymh.work@gmail.com> |
| Tue, 20 Mar 2012 13:08:53 +0100 | |
| changeset 84 | ec0cd99b1f7d |
| parent 2 | 806e57d67020 |
| permissions | -rwxr-xr-x |
<?php namespace Company\BaseBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/hello/Fabien'); $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); } }