We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e3c6629 + b24aba1 commit dc733a9Copy full SHA for dc733a9
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