From 64664873fc62f9423db44740b5afabef7793e3c4 Mon Sep 17 00:00:00 2001 From: Marc Jauvin Date: Thu, 23 Jun 2022 11:16:38 -0400 Subject: [PATCH] add testMakePartial cases to ViewMaker trait unit tests --- modules/system/tests/traits/ViewMakerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/system/tests/traits/ViewMakerTest.php b/modules/system/tests/traits/ViewMakerTest.php index c44536bd7a..54820188b6 100644 --- a/modules/system/tests/traits/ViewMakerTest.php +++ b/modules/system/tests/traits/ViewMakerTest.php @@ -78,6 +78,8 @@ public function testMakePartial() $partials = [ 'relative_no_ext' => 'relative no ext', 'folder/no_ext' => 'folder no ext', + "{$this->relativePath}/relative_no_ext" => 'relative path no underscore, no ext', + "~/{$this->relativePath}/relative_no_ext" => 'full path no underscore, no ext', "~/{$this->relativePath}/symbols.htm" => 'symbols content', "~/{$this->relativePath}/symbols.php" => 'symbols content', "~/{$this->relativePath}/specific.htm" => 'explicit htm path, but actually php',