Private
Public Access
1
0
Files
MineSeeker/tests/MineSeekerBundle/Controller/DefaultControllerTest.php

18 lines
381 B
PHP

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