From 8722458d2a2342517e45674129ec5c7d071a4077 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 11 Oct 2017 17:25:21 +0200 Subject: ensure that sorting is stable Signed-off-by: Arthur Schiwon --- apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/comments/tests') diff --git a/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php b/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php index 495dee1f416..95a74f118c0 100644 --- a/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php +++ b/apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php @@ -59,7 +59,7 @@ class CommentersSorterTest extends TestCase { $workArray = $data['input']; $this->sorter->sort($workArray, ['itemType' => 'files', 'itemId' => '24']); - $this->assertSame($data['expected'], $workArray); + $this->assertEquals($data['expected'], $workArray); } public function sortDataProvider() { -- cgit v1.2.3