diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/WallabagGroupBundle/Controller/DefaultControllerTest.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/WallabagGroupBundle/Controller/DefaultControllerTest.php b/tests/WallabagGroupBundle/Controller/DefaultControllerTest.php new file mode 100644 index 00000000..f278827b --- /dev/null +++ b/tests/WallabagGroupBundle/Controller/DefaultControllerTest.php | |||
@@ -0,0 +1,17 @@ | |||
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 | } | ||