]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tests/WallabagGroupBundle/Controller/DefaultControllerTest.php
Created GroupBundle
[github/wallabag/wallabag.git] / tests / WallabagGroupBundle / Controller / DefaultControllerTest.php
diff --git a/tests/WallabagGroupBundle/Controller/DefaultControllerTest.php b/tests/WallabagGroupBundle/Controller/DefaultControllerTest.php
new file mode 100644 (file)
index 0000000..f278827
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+
+namespace Wallabag\GroupBundle\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());
+    }
+}