Skip to content

Commit 2fdad1c

Browse files
tobiasKaminskyAndyScherzinger
authored andcommitted
Re-enable e2e tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent 2b1da4c commit 2fdad1c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.drone.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ services:
7979
- su www-data -c "php /var/www/html/occ app:enable activity"
8080
- su www-data -c "git clone -b main https://github.com/nextcloud/text.git /var/www/html/apps/text/"
8181
- su www-data -c "php /var/www/html/occ app:enable text"
82-
- su www-data -c "git clone -b artonge/feat/allow_metadata_update_for_subfolders https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/"
82+
- su www-data -c "git clone -b master https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/"
8383
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
8484
- su www-data -c "git clone -b master https://github.com/nextcloud/password_policy/ /var/www/html/apps/password_policy/"
8585
- su www-data -c "php /var/www/html/occ app:enable password_policy"
@@ -213,6 +213,6 @@ trigger:
213213
- pull_request
214214
---
215215
kind: signature
216-
hmac: 56749c47df149cc2d3c06343c609210a310e27635ea6ccb040890ab0afbce79d
216+
hmac: 6d69c7c3739747691580d04a781eb67cf95d2f33f8149d5ebd2cbcc30611b4f0
217217

218218
...

library/src/androidTest/java/com/owncloud/android/lib/resources/e2ee/UpdateMetadataRemoteOperationIT.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@
4242
import com.owncloud.android.lib.resources.files.model.RemoteFile;
4343
import com.owncloud.android.lib.resources.status.OwnCloudVersion;
4444

45+
import org.junit.Test;
46+
4547
public class UpdateMetadataRemoteOperationIT extends AbstractIT {
46-
//@Test
48+
@Test
4749
public void uploadAndModifyV1() {
4850
// tests only for NC19+
4951
testOnlyOnServer(OwnCloudVersion.nextcloud_20);
@@ -111,7 +113,7 @@ public void uploadAndModifyV1() {
111113
assertEquals(updatedMetadata, retrievedMetadata2);
112114
}
113115

114-
//@Test
116+
@Test
115117
public void uploadAndModifyV2() {
116118
// tests only for NC19+
117119
testOnlyOnServer(OwnCloudVersion.nextcloud_20);

0 commit comments

Comments
 (0)