1
0
mirror of https://github.com/flarum/core.git synced 2025-08-03 23:17:43 +02:00

test: prevent false negatives

This commit is contained in:
Sami Mazouz
2024-10-24 20:09:27 +01:00
parent 4d8e6abff6
commit 3b7b4055f1

View File

@@ -53,7 +53,7 @@ class ListWithFulltextSearchTest extends TestCase
$data = json_decode($contents = $response->getBody()->getContents(), true)['data'] ?? [];
$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