1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-09 00:46:15 +00:00

Fixed unit tests

This commit is contained in:
David A. Velasco 2015-11-06 22:49:26 +01:00
parent 90615fc4ab
commit 206c7abf10

View File

@ -132,7 +132,7 @@ public class CreateShareTest extends RemoteTest {
31);
assertFalse(result.isSuccess());
assertEquals(
RemoteOperationResult.ResultCode.SHARE_WRONG_PARAMETER,
RemoteOperationResult.ResultCode.SHARE_FORBIDDEN,
result.getCode()
);
assertTrue( // error message from server as part of the result
@ -189,7 +189,7 @@ public class CreateShareTest extends RemoteTest {
31);
assertFalse(result.isSuccess());
assertEquals(
RemoteOperationResult.ResultCode.SHARE_WRONG_PARAMETER,
RemoteOperationResult.ResultCode.SHARE_FORBIDDEN,
result.getCode()
);
assertTrue( // error message from server as part of the result