Files
wallabag-mirror/tests/functional/Controller/StaticControllerTest.php
2026-04-22 11:26:13 +02:00

29 lines
648 B
PHP

<?php
namespace Wallabag\Tests\Functional\Controller;
use Wallabag\Tests\Functional\WallabagTestCase;
class StaticControllerTest extends WallabagTestCase
{
public function testAbout(): void
{
$this->logInAs('admin');
$client = $this->getTestClient();
$client->request('GET', '/about');
$this->assertSame(200, $client->getResponse()->getStatusCode());
}
public function testHowto(): void
{
$this->logInAs('admin');
$client = $this->getTestClient();
$client->request('GET', '/howto');
$this->assertSame(200, $client->getResponse()->getStatusCode());
}
}