defis48/src/Mmi/Bundle/EnigmaBundle/Tests/Controller/DefaultControllerTest.php
2016-01-12 19:57:14 +01:00

18 lines
387 B
PHP

<?php
namespace Mmi\Bundle\EnigmaBundle\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());
}
}