Skip to content

Commit 3f00e6b

Browse files
committed
tests: fix
1 parent cceb0f8 commit 3f00e6b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/Bootstrap/Configurator.basic.headers.phpt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,14 @@ Assert::true( headers_sent() );
4343
Assert::error(function(){
4444
$configurator = new Configurator;
4545
$configurator->setTempDirectory(TEMP_DIR);
46-
$container = $configurator->addConfig('files/configurator.headers.neon')
46+
$configurator->addParameters(array('container' => array('class' => 'Container2')));
47+
$container = $configurator->addConfig(Tester\FileMock::create('
48+
nette:
49+
http:
50+
headers:
51+
A: b
52+
C:
53+
', 'neon'))
4754
->createContainer();
4855
}, array(
4956
array(E_WARNING, 'Cannot modify header information - headers already sent %a%'),

0 commit comments

Comments
 (0)