| author | ymh <ymh.work@gmail.com> |
| Thu, 27 Oct 2011 21:24:29 +0200 | |
| changeset 20 | 1e0db016717d |
| 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); } }