initial structure of the bundle

This commit is contained in:
2013-10-26 11:52:46 +02:00
parent 3a6d46e19c
commit 17b4f22136
10 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?php
namespace CL\Chill\PersonBundle\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);
}
}