Skip to content

Commit cf46730

Browse files
committed
remove unused test
1 parent aa1986d commit cf46730

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

tests/DependencyInjection/Compiler/LoggerChannelPassTest.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff 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

284263
class DummyService

0 commit comments

Comments
 (0)