mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
18 lines
402 B
PHP
18 lines
402 B
PHP
<?php
|
|
|
|
namespace CL\Chill\MainBundle\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);
|
|
}
|
|
}
|