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 @@ -499,7 +499,7 @@ public function getConfigTreeBuilder()
499499 ->enumNode ('rfc ' )
500500 ->values ([SyslogUdpHandler::RFC5424 , SyslogUdpHandler::RFC3164 ])
501501 ->defaultValue (SyslogUdpHandler::RFC5424 )
502- ->end () // syslogudp
502+ ->end () // syslogudp
503503 ->arrayNode ('publisher ' )
504504 ->canBeUnset ()
505505 ->beforeNormalization ()
Original file line number Diff line number Diff line change @@ -419,11 +419,13 @@ public function testWithSyslogUdpHandler()
419419 'port ' => 514 ,
420420 'facility ' => 'USER ' ,
421421 'level ' => 'ERROR ' ,
422+ 'ident ' => null ,
422423 'rfc ' => SyslogUdpHandler::RFC3164
423424 ]
424425 ]
425426 ]
426427 ];
428+
427429 $ config = $ this ->process ($ configs );
428430
429431 $ this ->assertEquals ('syslogudp ' , $ config ['handlers ' ]['syslogudp ' ]['type ' ]);
@@ -439,11 +441,13 @@ public function testWithSyslogUdpHandler()
439441 'host ' => '127.0.0.1 ' ,
440442 'port ' => 514 ,
441443 'facility ' => 'USER ' ,
444+ 'ident ' => false ,
442445 'level ' => 'ERROR '
443446 ]
444447 ]
445448 ]
446449 ];
450+
447451 $ config = $ this ->process ($ configs );
448452
449453 $ this ->assertEquals ('syslogudp ' , $ config ['handlers ' ]['syslogudp ' ]['type ' ]);
You can’t perform that action at this time.
0 commit comments