mirror of
https://github.com/code-rhapsodie/cr_core_extra.git
synced 2026-03-24 06:12:07 +01:00
18 lines
395 B
PHP
18 lines
395 B
PHP
<?php
|
|
|
|
namespace CodeRhapsodie\CrCoreExtraBundle\Tests\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
|
|
|
class DefaultControllerTest extends WebTestCase
|
|
{
|
|
public function testIndex()
|
|
{
|
|
$client = static::createClient();
|
|
|
|
$crawler = $client->request('GET', '/');
|
|
|
|
$this->assertContains('Hello World', $client->getResponse()->getContent());
|
|
}
|
|
}
|