Skip to content

Commit 7eab6de

Browse files
author
Eugene Leonovich
committed
Fix unit tests
1 parent 8717c3c commit 7eab6de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/QueueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testApiMethod($functionName, array $args, array $returnValue, $e
6161
{
6262
$this->client->expects($this->once())->method('call')
6363
->with('queue.tube.'.self::QUEUE_NAME.':'.$functionName, $args)
64-
->willReturn($returnValue);
64+
->willReturn([$returnValue]);
6565

6666
$actualResult = call_user_func_array([$this->queue, $functionName], $args);
6767

0 commit comments

Comments
 (0)