Skip to content

Commit 1008703

Browse files
committed
- Fixed test for getQueueMaxPriority()
1 parent 4e129f6 commit 1008703

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Functional/RabbitMQQueueTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ public function testQueueMaxPriority(): void
5252
/** @var $queue RabbitMQQueue */
5353
$queue = $this->connection();
5454
$this->assertIsInt($this->callMethod($queue, 'getQueueMaxPriority'));
55-
$this->assertSame(100, $this->callMethod($queue, 'getQueueMaxPriority'));
55+
$this->assertSame(2, $this->callMethod($queue, 'getQueueMaxPriority'));
5656

5757
$queue = $this->connection('rabbitmq-with-options');
5858
$this->assertIsInt($this->callMethod($queue, 'getQueueMaxPriority'));
5959
$this->assertSame(20, $this->callMethod($queue, 'getQueueMaxPriority'));
6060

6161
$queue = $this->connection('rabbitmq-with-options-empty');
6262
$this->assertIsInt($this->callMethod($queue, 'getQueueMaxPriority'));
63-
$this->assertSame(100, $this->callMethod($queue, 'getQueueMaxPriority'));
63+
$this->assertSame(2, $this->callMethod($queue, 'getQueueMaxPriority'));
6464
}
6565

6666
public function testExchangeType(): void

0 commit comments

Comments
 (0)