diff --git a/Tests/DependencyInjection/ConfigurationTest.php b/Tests/DependencyInjection/ConfigurationTest.php index 25cfdb4f..a68d1b5a 100644 --- a/Tests/DependencyInjection/ConfigurationTest.php +++ b/Tests/DependencyInjection/ConfigurationTest.php @@ -454,24 +454,6 @@ public function testWithSyslogUdpHandler() $this->assertEquals('127.0.0.1', $config['handlers']['syslogudp']['host']); $this->assertEquals(514, $config['handlers']['syslogudp']['port']); $this->assertEquals(1, $config['handlers']['syslogudp']['rfc']); - - $configs = [ - [ - 'handlers' => [ - 'syslogudp' => [ - 'type' => 'syslogudp', - 'host' => '127.0.0.1', - 'port' => 514, - 'facility' => 'USER', - 'level' => 'ERROR', - 'rfc' => 2 - ] - ] - ] - ]; - - $this->expectException(InvalidConfigurationException::class); - $config = $this->process($configs); } /** diff --git a/Tests/DependencyInjection/MonologExtensionTest.php b/Tests/DependencyInjection/MonologExtensionTest.php index 387a49eb..309700d6 100644 --- a/Tests/DependencyInjection/MonologExtensionTest.php +++ b/Tests/DependencyInjection/MonologExtensionTest.php @@ -226,7 +226,7 @@ public function testSyslogHandlerWithLogopts() $handler = $container->getDefinition('monolog.handler.main'); $this->assertDICDefinitionClass($handler, 'Monolog\Handler\SyslogHandler'); - $this->assertDICConstructorArguments($handler, [false, 'user', \Monolog\Logger::DEBUG, true, LOG_CONS]); + $this->assertDICConstructorArguments($handler, ['php', 'user', \Monolog\Logger::DEBUG, true, LOG_CONS]); } public function testSyslogHandlerForEmptyIdent()