kekrozsak/src/KekRozsak/FrontBundle/Tests/Controller/DefaultControllerTest.php
Polonkai Gergely 0b401e352e Created KekRozsak\FrontBundle as an almost empty bundle
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-07-01 10:02:35 +02:00

18 lines
404 B
PHP

<?php
namespace KekRozsak\FrontBundle\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);
}
}