We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cceb0f8 commit 3f00e6bCopy full SHA for 3f00e6b
tests/Bootstrap/Configurator.basic.headers.phpt
@@ -43,7 +43,14 @@ Assert::true( headers_sent() );
43
Assert::error(function(){
44
$configurator = new Configurator;
45
$configurator->setTempDirectory(TEMP_DIR);
46
- $container = $configurator->addConfig('files/configurator.headers.neon')
+ $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'))
54
->createContainer();
55
}, array(
56
array(E_WARNING, 'Cannot modify header information - headers already sent %a%'),
0 commit comments