Skip to content

Commit 46999ba

Browse files
committed
fix double negation on mock test.
1 parent 77481df commit 46999ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Queue/Jobs/RabbitMQJobTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private function createConsumerMock(string $queueName = 'test')
5353
{
5454
$mock = $this->createMock(AmqpConsumer::class);
5555

56-
if (!$queueName !== '')
56+
if ($queueName !== '')
5757
{
5858
$mock->expects($this->once())
5959
->method('getQueue')

0 commit comments

Comments
 (0)