Skip to content

Commit 6e7e837

Browse files
committed
update tests
1 parent e3b21dc commit 6e7e837

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

Tests/DependencyInjection/ConfigurationTest.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -454,24 +454,6 @@ public function testWithSyslogUdpHandler()
454454
$this->assertEquals('127.0.0.1', $config['handlers']['syslogudp']['host']);
455455
$this->assertEquals(514, $config['handlers']['syslogudp']['port']);
456456
$this->assertEquals(1, $config['handlers']['syslogudp']['rfc']);
457-
458-
$configs = [
459-
[
460-
'handlers' => [
461-
'syslogudp' => [
462-
'type' => 'syslogudp',
463-
'host' => '127.0.0.1',
464-
'port' => 514,
465-
'facility' => 'USER',
466-
'level' => 'ERROR',
467-
'rfc' => 2
468-
]
469-
]
470-
]
471-
];
472-
473-
$this->expectException(InvalidConfigurationException::class);
474-
$config = $this->process($configs);
475457
}
476458

477459
/**

Tests/DependencyInjection/MonologExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function testSyslogHandlerWithLogopts()
226226

227227
$handler = $container->getDefinition('monolog.handler.main');
228228
$this->assertDICDefinitionClass($handler, 'Monolog\Handler\SyslogHandler');
229-
$this->assertDICConstructorArguments($handler, [false, 'user', \Monolog\Logger::DEBUG, true, LOG_CONS]);
229+
$this->assertDICConstructorArguments($handler, ['php', 'user', \Monolog\Logger::DEBUG, true, LOG_CONS]);
230230
}
231231

232232
public function testSyslogHandlerForEmptyIdent()

0 commit comments

Comments
 (0)