From 1584174e1c75ce7e5cab6aa4da09208c50d188a0 Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Mon, 21 Oct 2024 16:09:02 +0100 Subject: [PATCH] test: prevent false negatives --- extensions/tags/tests/integration/api/tags/ListTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/tags/tests/integration/api/tags/ListTest.php b/extensions/tags/tests/integration/api/tags/ListTest.php index 68d311aa7..14fd3e71c 100644 --- a/extensions/tags/tests/integration/api/tags/ListTest.php +++ b/extensions/tags/tests/integration/api/tags/ListTest.php @@ -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