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