test: prevent false negatives
Some checks are pending
Backend Tests / run (push) Waiting to run
Frontend Workflow / run (push) Waiting to run
Static Code Analysis / run (push) Waiting to run

This commit is contained in:
Sami Mazouz 2024-10-24 20:09:27 +01:00
parent 4d8e6abff6
commit 3b7b4055f1
No known key found for this signature in database

View File

@ -53,7 +53,7 @@ class ListWithFulltextSearchTest extends TestCase
$data = json_decode($contents = $response->getBody()->getContents(), true)['data'] ?? []; $data = json_decode($contents = $response->getBody()->getContents(), true)['data'] ?? [];
$this->assertEquals(200, $response->getStatusCode(), $contents); $this->assertEquals(200, $response->getStatusCode(), $contents);
$this->assertEquals($expected, Arr::pluck($data, 'id')); $this->assertEqualsCanonicalizing($expected, Arr::pluck($data, 'id'));
} }
public static function searchDataProvider(): array public static function searchDataProvider(): array