Skip to content

Commit

Permalink
[system] add a basic test, see #986
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Jan 2, 2024
1 parent 145deae commit 2f2f8e2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ext/system/test.php
Original file line number Diff line number Diff line change
@@ -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);
}
}

0 comments on commit 2f2f8e2

Please sign in to comment.