Skip to content

Commit fbd880e

Browse files
add some debug output
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent f272885 commit fbd880e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

library/src/androidTest/java/com/owncloud/android/lib/common/operations/RemoveShareIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void testRemoveShare() throws IOException {
4444
false,
4545
"", 1).execute(client);
4646

47-
assertTrue(result.isSuccess());
47+
assertTrue(result.getLogMessage(), result.isSuccess());
4848

4949
OCShare ocShare = result.getResultData().get(0);
5050

library/src/androidTest/java/com/owncloud/android/lib/resources/files/FilesDownloadLimitIT.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import com.owncloud.android.lib.resources.status.GetCapabilitiesRemoteOperation
1818
import com.owncloud.android.lib.resources.status.NextcloudVersion
1919
import com.owncloud.android.lib.resources.status.OCCapability
2020
import junit.framework.TestCase.assertEquals
21+
import junit.framework.TestCase.assertTrue
2122
import org.junit.Before
2223
import org.junit.Test
2324

@@ -102,7 +103,7 @@ class FilesDownloadLimitIT : AbstractIT() {
102103
1
103104
).execute(client)
104105

105-
assert(result.isSuccess)
106+
assertTrue(result.getLogMessage(), result.isSuccess)
106107
val share = result.resultData.first()
107108
assert(share.token != null)
108109
return share

0 commit comments

Comments
 (0)