diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-10-11 17:25:21 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-10-22 14:13:37 +0200 |
commit | 8722458d2a2342517e45674129ec5c7d071a4077 (patch) | |
tree | 31535d9b58e9fb24f9ad4c915e0601bdaf1f0ef4 /apps/comments/tests | |
parent | 8f0a9ae51fdc92e7c33f7a48b9d84da6c6b196e1 (diff) | |
download | nextcloud-server-8722458d2a2342517e45674129ec5c7d071a4077.tar.gz nextcloud-server-8722458d2a2342517e45674129ec5c7d071a4077.zip |
ensure that sorting is stable
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/comments/tests')
-rw-r--r-- | apps/comments/tests/Unit/Collaboration/CommentersSorterTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |