From ec23d60ef324e9d4931c2d0806868574ebde17da Mon Sep 17 00:00:00 2001 From: alperozturk Date: Wed, 22 Jan 2025 15:27:49 +0100 Subject: [PATCH] bump MINIMUM_SUPPORTED_SERVER_VERSION Signed-off-by: alperozturk --- .../java/com/nextcloud/client/account/RegisteredUserTest.kt | 2 +- .../java/com/owncloud/android/utils/theme/CapabilityUtilsIT.kt | 1 - app/src/main/java/com/owncloud/android/MainApp.java | 2 +- .../com/nextcloud/client/network/ConnectivityServiceTest.kt | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/androidTest/java/com/nextcloud/client/account/RegisteredUserTest.kt b/app/src/androidTest/java/com/nextcloud/client/account/RegisteredUserTest.kt index 9fbe9dc50f38..69d2ad54a60e 100644 --- a/app/src/androidTest/java/com/nextcloud/client/account/RegisteredUserTest.kt +++ b/app/src/androidTest/java/com/nextcloud/client/account/RegisteredUserTest.kt @@ -31,7 +31,7 @@ class RegisteredUserTest { val ownCloudAccount = OwnCloudAccount(uri, credentials) val server = Server( uri = URI(uri.toString()), - version = OwnCloudVersion.nextcloud_17 + version = OwnCloudVersion.nextcloud_18 ) return RegisteredUser( account = account, diff --git a/app/src/androidTest/java/com/owncloud/android/utils/theme/CapabilityUtilsIT.kt b/app/src/androidTest/java/com/owncloud/android/utils/theme/CapabilityUtilsIT.kt index 4acb44be7fc4..2712c88f51b5 100644 --- a/app/src/androidTest/java/com/owncloud/android/utils/theme/CapabilityUtilsIT.kt +++ b/app/src/androidTest/java/com/owncloud/android/utils/theme/CapabilityUtilsIT.kt @@ -31,7 +31,6 @@ class CapabilityUtilsIT : AbstractIT() { assertTrue(test(OwnCloudVersion.nextcloud_20)) assertTrue(test(OwnCloudVersion.nextcloud_19)) assertTrue(test(OwnCloudVersion.nextcloud_18)) - assertTrue(test(OwnCloudVersion.nextcloud_17)) } private fun test(version: OwnCloudVersion): Boolean { diff --git a/app/src/main/java/com/owncloud/android/MainApp.java b/app/src/main/java/com/owncloud/android/MainApp.java index 0ed2d044485e..bb3af85f9a77 100644 --- a/app/src/main/java/com/owncloud/android/MainApp.java +++ b/app/src/main/java/com/owncloud/android/MainApp.java @@ -130,7 +130,7 @@ */ public class MainApp extends Application implements HasAndroidInjector, NetworkChangeListener { public static final OwnCloudVersion OUTDATED_SERVER_VERSION = NextcloudVersion.nextcloud_26; - public static final OwnCloudVersion MINIMUM_SUPPORTED_SERVER_VERSION = OwnCloudVersion.nextcloud_17; + public static final OwnCloudVersion MINIMUM_SUPPORTED_SERVER_VERSION = OwnCloudVersion.nextcloud_18; private static final String TAG = MainApp.class.getSimpleName(); public static final String DOT = "."; diff --git a/app/src/test/java/com/nextcloud/client/network/ConnectivityServiceTest.kt b/app/src/test/java/com/nextcloud/client/network/ConnectivityServiceTest.kt index a6d0601cfc93..6ddcecae932e 100644 --- a/app/src/test/java/com/nextcloud/client/network/ConnectivityServiceTest.kt +++ b/app/src/test/java/com/nextcloud/client/network/ConnectivityServiceTest.kt @@ -94,7 +94,7 @@ class ConnectivityServiceTest { val baseServerUri = URI.create(SERVER_BASE_URL) val newServer = Server(baseServerUri, OwnCloudVersion.nextcloud_20) - val legacyServer = Server(baseServerUri, OwnCloudVersion.nextcloud_17) + val legacyServer = Server(baseServerUri, OwnCloudVersion.nextcloud_18) @Mock lateinit var user: User