diff --git a/tests/webfiori/test/ui/LoadTemplateTest.php b/tests/webfiori/test/ui/LoadTemplateTest.php index 1bb25fa..bed0a38 100644 --- a/tests/webfiori/test/ui/LoadTemplateTest.php +++ b/tests/webfiori/test/ui/LoadTemplateTest.php @@ -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 */