Skip to content

Commit 39ac846

Browse files
committed
testOnlyOnServer v34 for testGetTaskTypesAndVerifyChatAndSorting
Signed-off-by: alperozturk <alper_ozturk@proton.me>
1 parent caecf89 commit 39ac846

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

library/src/androidTest/java/com/owncloud/android/lib/resources/assistant/chat/AssistantChatTests.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ class AssistantChatTests : AbstractIT() {
116116

117117
@Test
118118
fun testGetTaskTypesAndVerifyChatAndSorting() {
119+
testOnlyOnServer(NextcloudVersion.nextcloud_34)
120+
119121
val result = GetTaskTypesRemoteOperationV2().execute(nextcloudClient)
120122

121123
assertTrue("Request must succeed", result.isSuccess)

library/src/main/java/com/owncloud/android/lib/resources/status/NextcloudVersion.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ class NextcloudVersion : OwnCloudVersion {
4444

4545
@JvmField
4646
val nextcloud_32 = NextcloudVersion(0x20000000) // 32.0
47+
48+
@JvmField
49+
val nextcloud_33 = NextcloudVersion(0x21000000) // 33.0
50+
51+
@JvmField
52+
val nextcloud_34 = NextcloudVersion(0x22000000) // 34.0
4753
}
4854

4955
constructor(string: String) : super(string)

0 commit comments

Comments
 (0)