mirror of
https://github.com/flarum/core.git
synced 2025-08-04 07:27:39 +02:00
test: prevent false negatives
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user