18 lines
376 B
PHP
18 lines
376 B
PHP
<?php
|
|
|
|
namespace AppBundle\Tests\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
|
|
|
class DefaultControllerTest extends WebTestCase
|
|
{
|
|
public function testIndex()
|
|
{
|
|
$client = static::createClient();
|
|
|
|
$crawler = $client->request('GET', '/');
|
|
|
|
$this->assertTrue($crawler->filter('html:contains("Homepage")')->count() > 0);
|
|
}
|
|
}
|