| author | ymh <ymh.work@gmail.com> |
| Wed, 28 Sep 2011 17:45:50 +0200 | |
| changeset 2 | 806e57d67020 |
| permissions | -rw-r--r-- |
<?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); } }