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 37709f3 commit 509bc00Copy full SHA for 509bc00
Tests/DependencyInjection/ConfigurationTest.php
@@ -122,6 +122,33 @@ public function testInvalidArrays()
122
$config = $this->process($configs);
123
}
124
125
+ /**
126
+ * @expectedException Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
127
+ */
128
+ public function testMergingInvalidChannels()
129
+ {
130
+ $configs = array(
131
+ array(
132
+ 'handlers' => array(
133
+ 'foo' => array(
134
+ 'type' => 'stream',
135
+ 'path' => '/foo',
136
+ 'channels' => 'A',
137
+ )
138
139
+ ),
140
141
142
143
+ 'channels' => '!B',
144
145
146
147
+ );
148
+
149
+ $config = $this->process($configs);
150
+ }
151
152
public function testWithType()
153
{
154
$configs = array(
0 commit comments