Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 1da5ac5

Browse files
committed
helper does not allow a null view
1 parent f4af03e commit 1da5ac5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/Helper/HeadScriptTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -443,15 +443,11 @@ public function testNoEscapeWithAllowArbitraryAttributesDoesNotIncludeNoEscapeSc
443443

444444
public function testNoEscapeDefaultsToFalse()
445445
{
446-
// it only defaults to false if there is no view, respectively no doctype helper available
447-
$this->helper->setView(null);
448446
$this->helper->__invoke()->appendScript('// some script' . PHP_EOL, 'text/javascript', []);
449447
$test = $this->helper->__invoke()->toString();
450448

451449
$this->assertContains('//<!--', $test);
452450
$this->assertContains('//-->', $test);
453-
454-
$this->helper->setView($this->view);
455451
}
456452

457453
public function testNoEscapeTrue()

0 commit comments

Comments
 (0)