1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Move test files directly under tests/ directory

This commit is contained in:
Yassine Guedidi 2024-02-19 00:45:58 +01:00
parent a37b385c23
commit 24da70e338
117 changed files with 4 additions and 4 deletions

View file

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