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 c30d4c3 commit 3a7294fCopy full SHA for 3a7294f
tests/Contracts/TaskTest.php
@@ -60,6 +60,13 @@ public function testCreate(): void
60
'invalid_request',
61
'https://docs.meilisearch.com/errors#index_not_found',
62
), $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());
70
71
// Ensure the class supports array access retrocompatibility
72
self::assertSame(1, $task->getTaskUid());
0 commit comments