From ea0ebf6e25358ae27d6616c6ad8e7e1b51a8c226 Mon Sep 17 00:00:00 2001 From: Juan Carlos Garrote Date: Wed, 11 Oct 2023 14:51:24 +0200 Subject: [PATCH] Fixes in UI tests due to string changes --- .../sharing/shares/ui/PublicShareCreationDialogFragmentTest.kt | 2 +- .../owncloud/android/sharing/shares/ui/ShareFileFragmentTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/owncloudApp/src/androidTest/java/com/owncloud/android/sharing/shares/ui/PublicShareCreationDialogFragmentTest.kt b/owncloudApp/src/androidTest/java/com/owncloud/android/sharing/shares/ui/PublicShareCreationDialogFragmentTest.kt index a79b9d0d36b..2b18770f54d 100644 --- a/owncloudApp/src/androidTest/java/com/owncloud/android/sharing/shares/ui/PublicShareCreationDialogFragmentTest.kt +++ b/owncloudApp/src/androidTest/java/com/owncloud/android/sharing/shares/ui/PublicShareCreationDialogFragmentTest.kt @@ -226,7 +226,7 @@ class PublicShareCreationDialogFragmentTest { publicShareCreationStatus.postValue( Event( UIResult.Error( - error = Throwable("It was not possible to share this file or folder") + error = Throwable("It was not possible to share this file or folder.") ) ) ) diff --git a/owncloudApp/src/androidTest/java/com/owncloud/android/sharing/shares/ui/ShareFileFragmentTest.kt b/owncloudApp/src/androidTest/java/com/owncloud/android/sharing/shares/ui/ShareFileFragmentTest.kt index 99954f4cae3..1799858426c 100644 --- a/owncloudApp/src/androidTest/java/com/owncloud/android/sharing/shares/ui/ShareFileFragmentTest.kt +++ b/owncloudApp/src/androidTest/java/com/owncloud/android/sharing/shares/ui/ShareFileFragmentTest.kt @@ -291,7 +291,7 @@ class ShareFileFragmentTest { fun showError() { loadShareFileFragment( sharesUIResult = UIResult.Error( - error = Throwable("It was not possible to retrieve the shares from server") + error = Throwable("It was not possible to retrieve the shares from the server.") ) ) com.google.android.material.R.id.snackbar_text.withText(R.string.get_shares_error)