Skip to content

Commit

Permalink
test: Added Additional Test Case
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Jul 3, 2024
1 parent b3c19a8 commit 568ea7a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/webfiori/test/ui/LoadTemplateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,13 @@ public function testHeadTemplate01() {
$this->assertEquals('{{title}}', $node->getPageTitle());
$this->assertEquals('UTF-8', $node->getCharSet());
}
/**
* @test
*/
public function test11() {
$this->expectException(\webfiori\ui\exceptions\TemplateNotFoundException::class);
$compiler = new TemplateCompiler(self::TEST_TEMPLATES_PATH.'not-exist.php');
}
/**
* @test
*/
Expand Down

0 comments on commit 568ea7a

Please sign in to comment.