Created KekRozsak\FrontBundle as an almost empty bundle

Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Polonkai Gergely
2012-07-01 10:02:35 +02:00
parent 12ef9a147c
commit 0b401e352e
10 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?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);
}
}