File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -491,7 +491,7 @@ public function getConfigTreeBuilder()
491491 ->enumNode ('rfc ' )
492492 ->values ([SyslogUdpHandler::RFC5424 , SyslogUdpHandler::RFC3164 ])
493493 ->defaultValue (SyslogUdpHandler::RFC5424 )
494- ->end () // syslogudp
494+ ->end () // syslogudp
495495 ->arrayNode ('publisher ' )
496496 ->canBeUnset ()
497497 ->beforeNormalization ()
Original file line number Diff line number Diff line change @@ -418,11 +418,13 @@ public function testWithSyslogUdpHandler()
418418 'port ' => 514 ,
419419 'facility ' => 'USER ' ,
420420 'level ' => 'ERROR ' ,
421+ 'ident ' => null ,
421422 'rfc ' => SyslogUdpHandler::RFC3164
422423 ]
423424 ]
424425 ]
425426 ];
427+
426428 $ config = $ this ->process ($ configs );
427429
428430 $ this ->assertEquals ('syslogudp ' , $ config ['handlers ' ]['syslogudp ' ]['type ' ]);
@@ -438,11 +440,13 @@ public function testWithSyslogUdpHandler()
438440 'host ' => '127.0.0.1 ' ,
439441 'port ' => 514 ,
440442 'facility ' => 'USER ' ,
443+ 'ident ' => false ,
441444 'level ' => 'ERROR '
442445 ]
443446 ]
444447 ]
445448 ];
449+
446450 $ config = $ this ->process ($ configs );
447451
448452 $ this ->assertEquals ('syslogudp ' , $ config ['handlers ' ]['syslogudp ' ]['type ' ]);
You can’t perform that action at this time.
0 commit comments