Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c68c3f6 authored by Juan Carlos González Cabrero's avatar Juan Carlos González Cabrero
Browse files

Added automated test for creation of the share operation with edit permission enabled

parent 46f930f6
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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());