We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8717c3c commit 7eab6deCopy full SHA for 7eab6de
tests/Unit/QueueTest.php
@@ -61,7 +61,7 @@ public function testApiMethod($functionName, array $args, array $returnValue, $e
61
{
62
$this->client->expects($this->once())->method('call')
63
->with('queue.tube.'.self::QUEUE_NAME.':'.$functionName, $args)
64
- ->willReturn($returnValue);
+ ->willReturn([$returnValue]);
65
66
$actualResult = call_user_func_array([$this->queue, $functionName], $args);
67
0 commit comments