File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
tests/DependencyInjection/Compiler Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -258,27 +258,6 @@ public function testEnabledHandler(bool $enabled)
258258
259259 $ this ->assertSame ($ enabled , $ container ->hasDefinition ('monolog.handler.main ' ));
260260 }
261-
262- public function testDisabledHandler ()
263- {
264- $ container = new ContainerBuilder ();
265- $ loader = new MonologExtension ();
266-
267- $ config = [
268- 'handlers ' => [
269- 'main ' => [
270- 'enabled ' => false ,
271- 'type ' => 'stream ' ,
272- 'path ' => '%kernel.logs_dir%/%kernel.environment%.log ' ,
273- 'level ' => 'debug ' ,
274- ],
275- ],
276- ];
277-
278- $ loader ->load ([$ config ], $ container );
279-
280- $ this ->assertFalse ($ container ->hasDefinition ('monolog.handler.main ' ));
281- }
282261}
283262
284263class DummyService
You can’t perform that action at this time.
0 commit comments