mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-11 16:33:03 +00:00
Fixed unit tests
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user