Skip to content

Commit 9a11a4f

Browse files
author
Eugene Leonovich
committed
Update tests to be in sync with the recent changes in tarantool/queue
Ref: tarantool/queue#33
1 parent ac93901 commit 9a11a4f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tests/Integration/QueueTest.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,17 @@ public function testStatisticsIsEmpty()
228228
{
229229
$stat = $this->queue->statistics();
230230

231-
$this->assertNull($stat);
231+
$this->assertSame([
232+
'tasks' => [
233+
'taken' => 0,
234+
'buried' => 0,
235+
'ready' => 0,
236+
'delayed' => 0,
237+
'total' => 0,
238+
],
239+
'calls' => [
240+
],
241+
], $stat);
232242
}
233243

234244
/**

0 commit comments

Comments
 (0)