aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/StaticControllerTest.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/StaticControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/StaticControllerTest.php
new file mode 100644
index 00000000..c1668fa5
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Tests/Controller/StaticControllerTest.php
@@ -0,0 +1,29 @@
1<?php
2
3namespace Wallabag\CoreBundle\Tests\Controller;
4
5use Wallabag\CoreBundle\Tests\WallabagCoreTestCase;
6use Doctrine\ORM\AbstractQuery;
7
8class StaticControllerTest extends WallabagCoreTestCase
9{
10 public function testAbout()
11 {
12 $this->logInAs('admin');
13 $client = $this->getClient();
14
15 $client->request('GET', '/about');
16
17 $this->assertEquals(200, $client->getResponse()->getStatusCode());
18 }
19
20 public function testHowto()
21 {
22 $this->logInAs('admin');
23 $client = $this->getClient();
24
25 $client->request('GET', '/howto');
26
27 $this->assertEquals(200, $client->getResponse()->getStatusCode());
28 }
29}