Skip to content

Commit e496fe9

Browse files
fixed testcases
1 parent 1c4c8dc commit e496fe9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Unit/Storage/DoctrineStorageTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function storeDataProvider()
2424
/**
2525
* @dataProvider storeDataProvider
2626
*/
27-
public function testStore($date, $completed, $uuid)
27+
public function testStore($date, $completed, $uuid, $key = null)
2828
{
2929
$entityManager = $this->prophesize(EntityManagerInterface::class);
3030
$repository = $this->prophesize(TaskRepository::class);
@@ -33,6 +33,7 @@ public function testStore($date, $completed, $uuid)
3333

3434
$task = $this->prophesize(TaskInterface::class);
3535
$task->getUuid()->willReturn($uuid);
36+
$task->getKey()->willReturn($key);
3637
$task->isCompleted()->willReturn($completed);
3738
$task->getExecutionDate()->willReturn($date);
3839

0 commit comments

Comments
 (0)