Skip to content

Commit 3a7294f

Browse files
committed
Fix missing coverage
1 parent c30d4c3 commit 3a7294f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/Contracts/TaskTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ public function testCreate(): void
6060
'invalid_request',
6161
'https://docs.meilisearch.com/errors#index_not_found',
6262
), $task->getError());
63+
self::assertSame([
64+
'taskUid' => 1,
65+
'indexUid' => 'documents',
66+
'status' => 'failed',
67+
'type' => 'index_creation',
68+
'enqueuedAt' => '2025-04-09T10:28:12.236789123Z',
69+
], $task->getData());
6370

6471
// Ensure the class supports array access retrocompatibility
6572
self::assertSame(1, $task->getTaskUid());

0 commit comments

Comments
 (0)