]>
Commit | Line | Data |
---|---|---|
b073a0b4 NL |
1 | <?php |
2 | ||
3 | namespace Wallabag\GroupBundle\Tests\Controller; | |
4 | ||
5 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | |
6 | ||
7 | class DefaultControllerTest extends WebTestCase | |
8 | { | |
9 | public function testIndex() | |
10 | { | |
11 | $client = static::createClient(); | |
12 | ||
13 | $crawler = $client->request('GET', '/'); | |
14 | ||
15 | $this->assertContains('Hello World', $client->getResponse()->getContent()); | |
16 | } | |
17 | } |