Skip to content

Commit

Permalink
Merge pull request #14447 from nextcloud/bump-min-supported-server-ve…
Browse files Browse the repository at this point in the history
…rsion

bump MINIMUM_SUPPORTED_SERVER_VERSION
  • Loading branch information
tobiasKaminsky authored Jan 23, 2025
2 parents 8305716 + ec23d60 commit 1fcffb0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/owncloud/android/MainApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ".";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fcffb0

Please sign in to comment.