Skip to content

Commit 104f287

Browse files
Tags: sort to have reliable order
Signed-off-by: tobiasKaminsky <[email protected]>
1 parent b711bec commit 104f287

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/src/androidTest/java/com/owncloud/android/lib/resources/tags/GetTagsRemoteOperationIT.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class GetTagsRemoteOperationIT : AbstractIT() {
104104
(rootMetadata.data as ArrayList<RemoteFile>)
105105
.find { it.remotePath == tagFolder }
106106
?.tags
107+
tags?.sort()
107108
assertEquals(2, tags?.size)
108109
assertEquals(null, tags?.first()?.color)
109110
assertEquals(colorWithHex, tags?.last()?.color)

0 commit comments

Comments
 (0)