Skip to content

Commit b2754ec

Browse files
committed
#158: Fixed priority test for AMQP Interop
1 parent 5d209a6 commit b2754ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/drivers/amqp_interop/QueueTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ public function testRetry()
5151

5252
public function testPriority()
5353
{
54-
$this->getQueue()->priority(1)->push(new PriorityJob(['number' => 1]));
55-
$this->getQueue()->priority(3)->push(new PriorityJob(['number' => 5]));
54+
$this->getQueue()->priority(3)->push(new PriorityJob(['number' => 1]));
55+
$this->getQueue()->priority(1)->push(new PriorityJob(['number' => 5]));
5656
$this->getQueue()->priority(2)->push(new PriorityJob(['number' => 3]));
5757
$this->getQueue()->priority(2)->push(new PriorityJob(['number' => 4]));
58-
$this->getQueue()->priority(1)->push(new PriorityJob(['number' => 2]));
58+
$this->getQueue()->priority(3)->push(new PriorityJob(['number' => 2]));
5959
$this->startProcess('php yii queue/listen');
6060
sleep(3);
6161

0 commit comments

Comments
 (0)