mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 14:04:03 +08:00
test: prevent false negatives
This commit is contained in:
parent
b75a51c271
commit
1584174e1c
|
@ -129,7 +129,7 @@ class ListTest extends TestCase
|
|||
$data = json_decode($response->getBody()->getContents(), true)['data'];
|
||||
|
||||
$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
|
||||
|
|
Loading…
Reference in New Issue
Block a user