chill-bundles/Tests/Controller/DefaultControllerTest.php
2018-04-13 22:16:40 +02:00

18 lines
380 B
PHP

<?php
namespace Chill\TaskBundle\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());
}
}