[system] add a basic test, see #986
This commit is contained in:
parent
145deaeea5
commit
2f2f8e2eda
1 changed files with 15 additions and 0 deletions
15
ext/system/test.php
Normal file
15
ext/system/test.php
Normal 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);
|
||||
}
|
||||
}
|
Reference in a new issue