skeleton of the bundle

This commit is contained in:
Marc Ducobu
2015-06-30 22:07:55 +02:00
parent 221698d102
commit 452f3fba86
10 changed files with 115 additions and 0 deletions

View File

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