Skip to content

Commit 7ddc44e

Browse files
committed
delay strategy
1 parent dbcfce6 commit 7ddc44e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎bin/test‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ php pkg/job-queue/Tests/Functional/app/console doctrine:database:create
3131
php pkg/job-queue/Tests/Functional/app/console doctrine:schema:update --force
3232

3333
#php pkg/enqueue-bundle/Tests/Functional/app/console.php config:dump-reference enqueue
34-
bin/phpunit "$@"
34+
bin/phpunit --debug "$@"

‎pkg/enqueue/Tests/Client/Amqp/RabbitMqDriverTest.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ public function testShouldSetupBrokerWhenDelayPluginNotInstalled()
505505
->willReturn($processorQueue)
506506
;
507507

508-
$config = Config::create('', '', '', '', '', '', ['delay_plugin_installed' => false]);
508+
$config = Config::create('', '', '', '', '', '', ['delay_strategy' => null]);
509509

510510
$meta = new QueueMetaRegistry($config, ['default' => []]);
511511

@@ -560,7 +560,7 @@ public function testShouldSetupBroker()
560560
->with($this->identicalTo($processorQueue))
561561
;
562562

563-
$config = Config::create('', '', '', '', '', '', ['delay_plugin_installed' => true]);
563+
$config = Config::create('', '', '', '', '', '', ['delay_strategy' => 'dlx']);
564564

565565
$meta = new QueueMetaRegistry($config, ['default' => []]);
566566

0 commit comments

Comments
 (0)