We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbffcbd commit b24aba1Copy full SHA for b24aba1
1 file changed
tests/system/View/ViewTest.php
@@ -146,6 +146,12 @@ public function testRenderString()
146
$this->assertEquals($expected, $view->renderString('<h1><?= $testString ?></h1>'));
147
}
148
149
+ public function testRenderStringNullTempdata()
150
+ {
151
+ $view = new View($this->config, $this->viewsDir, $this->loader);
152
+ $this->assertEquals('test string', $view->renderString('test string'));
153
+ }
154
+
155
//--------------------------------------------------------------------
156
157
public function testRendersThrowsExceptionIfFileNotFound()
0 commit comments