We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e850510 commit 812a069Copy full SHA for 812a069
pkg/enqueue-bundle/Tests/Unit/DependencyInjection/ConfigurationTest.php
@@ -424,6 +424,23 @@ public function testShouldAllowEnableAsyncEvents()
424
], $config);
425
}
426
427
+ public function testShouldSetDefaultConfigurationForConsumption()
428
+ {
429
+ $configuration = new Configuration([]);
430
+
431
+ $processor = new Processor();
432
+ $config = $processor->processConfiguration($configuration, [[
433
+ 'transport' => [],
434
+ ]]);
435
436
+ $this->assertArraySubset([
437
+ 'consumption' => [
438
+ 'idle_timeout' => 0,
439
+ 'receive_timeout' => 100,
440
+ ],
441
+ ], $config);
442
+ }
443
444
public function testShouldAllowConfigureConsumption()
445
{
446
$configuration = new Configuration([]);
0 commit comments