diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-02 21:53:07 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-06-23 09:18:39 +0200 |
commit | b073a0b4efe26b0f1be3239d5b7cfef2fc59202c (patch) | |
tree | efd49455960d842726e197ce83c71d201161fad8 /tests | |
parent | f1900b686eb8d7c41a940eede778234ac55086e1 (diff) | |
download | wallabag-b073a0b4efe26b0f1be3239d5b7cfef2fc59202c.tar.gz wallabag-b073a0b4efe26b0f1be3239d5b7cfef2fc59202c.tar.zst wallabag-b073a0b4efe26b0f1be3239d5b7cfef2fc59202c.zip |
Created GroupBundle
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 | } | ||