Skip to content

Commit 315574e

Browse files
committed
Test correction. Fixes #846
1 parent 4ca7b49 commit 315574e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/system/View/ViewTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,12 @@ public function testRendersThrowsExceptionIfFileNotFound()
165165

166166
//--------------------------------------------------------------------
167167

168-
public function testRenderScrapsDataByDefault()
168+
public function testRenderScrapsData()
169169
{
170170
$view = new View($this->config, $this->viewsDir, $this->loader);
171171

172172
$view->setVar('testString', 'Hello World');
173-
$view->render('simple');
173+
$view->render('simple', null,false);
174174

175175
$this->assertTrue(empty($view->getData()));
176176
}

0 commit comments

Comments
 (0)