Phpunit is working

This commit is contained in:
Marc Ducobu
2014-11-07 23:17:54 +01:00
parent f1b66bb6dc
commit c7e4388645
8 changed files with 37 additions and 21 deletions

View File

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