Skip to content

Commit

Permalink
Merge pull request #14446 from nextcloud/bump-outdated-server-version
Browse files Browse the repository at this point in the history
Bump OUTDATED_SERVER_VERSION
  • Loading branch information
tobiasKaminsky authored Jan 23, 2025
2 parents af94104 + 91bbdd3 commit d458de7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ import org.junit.Test
class CapabilityUtilsIT : AbstractIT() {
@Test
fun checkOutdatedWarning() {
assertFalse(test(NextcloudVersion.nextcloud_31))
assertFalse(test(NextcloudVersion.nextcloud_30))
assertFalse(test(NextcloudVersion.nextcloud_29))
assertFalse(test(NextcloudVersion.nextcloud_28))
assertFalse(test(NextcloudVersion.nextcloud_27))

assertTrue(test(NextcloudVersion.nextcloud_28))
assertTrue(test(NextcloudVersion.nextcloud_27))
assertTrue(test(NextcloudVersion.nextcloud_26))
assertTrue(test(NextcloudVersion.nextcloud_25))
assertTrue(test(NextcloudVersion.nextcloud_24))
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 @@ -129,7 +129,7 @@
* Contains methods to build the "static" strings. These strings were before constants in different classes.
*/
public class MainApp extends Application implements HasAndroidInjector, NetworkChangeListener {
public static final OwnCloudVersion OUTDATED_SERVER_VERSION = NextcloudVersion.nextcloud_26;
public static final OwnCloudVersion OUTDATED_SERVER_VERSION = NextcloudVersion.nextcloud_28;
public static final OwnCloudVersion MINIMUM_SUPPORTED_SERVER_VERSION = OwnCloudVersion.nextcloud_18;

private static final String TAG = MainApp.class.getSimpleName();
Expand Down

0 comments on commit d458de7

Please sign in to comment.