mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-08 00:16:09 +00:00
Added automated test for creation of the share operation with edit permission enabled
This commit is contained in:
parent
46f930f6cf
commit
5c68c3f605
@ -165,6 +165,12 @@ public class UpdatePublicShareTest extends RemoteTest {
|
||||
result = updateShare.execute(mClient);
|
||||
assertTrue(result.isSuccess());
|
||||
|
||||
// Update Share with edit permission
|
||||
updateShare = new UpdateRemoteShareOperation(mShare.getRemoteId());
|
||||
updateShare.setPublicUpload(true);
|
||||
result = updateShare.execute(mClient);
|
||||
assertTrue(result.isSuccess());
|
||||
|
||||
// unsuccessful test
|
||||
// Update Share with expiration date in the past
|
||||
updateShare = new UpdateRemoteShareOperation(mShare.getRemoteId());
|
||||
|
Loading…
x
Reference in New Issue
Block a user