1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-10 19:32:07 +00:00

Merge pull request #1295 from wallabag/v2-howto

add howto page
This commit is contained in:
Jeremy Benoist 2015-08-10 14:15:11 +02:00
commit f48a018929
5 changed files with 120 additions and 0 deletions

View file

@ -0,0 +1,28 @@
<?php
namespace Wallabag\CoreBundle\Tests\Controller;
use Wallabag\CoreBundle\Tests\WallabagCoreTestCase;
class StaticControllerTest extends WallabagCoreTestCase
{
public function testAbout()
{
$this->logInAs('admin');
$client = $this->getClient();
$client->request('GET', '/about');
$this->assertEquals(200, $client->getResponse()->getStatusCode());
}
public function testHowto()
{
$this->logInAs('admin');
$client = $this->getClient();
$client->request('GET', '/howto');
$this->assertEquals(200, $client->getResponse()->getStatusCode());
}
}