aboutsummaryrefslogblamecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/StaticControllerTest.php
blob: 17847937cc203848dd49319299d72d34acd34f59 (plain) (tree)
1
2
3
4
5

     
                                               
 
                                                   









                                                       
                                                                        








                                          
                                                                        

     
<?php

namespace Tests\Wallabag\CoreBundle\Controller;

use Tests\Wallabag\CoreBundle\WallabagCoreTestCase;

class StaticControllerTest extends WallabagCoreTestCase
{
    public function testAbout()
    {
        $this->logInAs('admin');
        $client = $this->getClient();

        $client->request('GET', '/about');

        $this->assertSame(200, $client->getResponse()->getStatusCode());
    }

    public function testHowto()
    {
        $this->logInAs('admin');
        $client = $this->getClient();

        $client->request('GET', '/howto');

        $this->assertSame(200, $client->getResponse()->getStatusCode());
    }
}