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:
parent
90615fc4ab
commit
206c7abf10
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user