[system] add a basic test, see #986

This commit is contained in:
Shish 2024-01-02 23:57:38 +00:00
parent 145deaeea5
commit 2f2f8e2eda

15
ext/system/test.php Normal file
View file

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Shimmie2;
class SystemTest extends ShimmiePHPUnitTestCase
{
public function testView()
{
global $page;
$this->get_page("system");
$this->assertEquals(PageMode::REDIRECT, $page->mode);
}
}