]>
Commit | Line | Data |
---|---|---|
1473e8c9 NL |
1 | <?php |
2 | ||
3 | namespace Wallabag\CoreBundle\Tests\Controller; | |
4 | ||
5 | use Wallabag\CoreBundle\Tests\WallabagCoreTestCase; | |
6 | use Doctrine\ORM\AbstractQuery; | |
7 | ||
8 | class 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 | } |