18 lines
414 B
PHP
18 lines
414 B
PHP
|
<?php
|
||
|
|
||
|
namespace Hackspace\Bundle\CalciferBundle\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);
|
||
|
}
|
||
|
}
|