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()
499
499
->enumNode ('rfc ' )
500
500
->values ([SyslogUdpHandler::RFC5424 , SyslogUdpHandler::RFC3164 ])
501
501
->defaultValue (SyslogUdpHandler::RFC5424 )
502
- ->end () // syslogudp
502
+ ->end () // syslogudp
503
503
->arrayNode ('publisher ' )
504
504
->canBeUnset ()
505
505
->beforeNormalization ()
Original file line number Diff line number Diff line change @@ -419,11 +419,13 @@ public function testWithSyslogUdpHandler()
419
419
'port ' => 514 ,
420
420
'facility ' => 'USER ' ,
421
421
'level ' => 'ERROR ' ,
422
+ 'ident ' => null ,
422
423
'rfc ' => SyslogUdpHandler::RFC3164
423
424
]
424
425
]
425
426
]
426
427
];
428
+
427
429
$ config = $ this ->process ($ configs );
428
430
429
431
$ this ->assertEquals ('syslogudp ' , $ config ['handlers ' ]['syslogudp ' ]['type ' ]);
@@ -439,11 +441,13 @@ public function testWithSyslogUdpHandler()
439
441
'host ' => '127.0.0.1 ' ,
440
442
'port ' => 514 ,
441
443
'facility ' => 'USER ' ,
444
+ 'ident ' => false ,
442
445
'level ' => 'ERROR '
443
446
]
444
447
]
445
448
]
446
449
];
450
+
447
451
$ config = $ this ->process ($ configs );
448
452
449
453
$ this ->assertEquals ('syslogudp ' , $ config ['handlers ' ]['syslogudp ' ]['type ' ]);
You can’t perform that action at this time.
0 commit comments