mirror of
https://github.com/flarum/core.git
synced 2025-08-04 23:47:32 +02:00
test: prevent false negatives
This commit is contained in:
@@ -129,7 +129,7 @@ class ListTest extends TestCase
|
|||||||
$data = json_decode($response->getBody()->getContents(), true)['data'];
|
$data = json_decode($response->getBody()->getContents(), true)['data'];
|
||||||
|
|
||||||
$ids = Arr::pluck($data, 'id');
|
$ids = Arr::pluck($data, 'id');
|
||||||
$this->assertEquals(['1', '2', '3', '4', '9', '10'], $ids);
|
$this->assertEqualsCanonicalizing(['1', '2', '3', '4', '9', '10'], $ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function listTagsIncludesDataProvider(): array
|
public static function listTagsIncludesDataProvider(): array
|
||||||
|
Reference in New Issue
Block a user