Skip to content

Commit 5082b9c

Browse files
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent 43bdbee commit 5082b9c

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/configNC_master.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,11 @@ cd /var/www/html/apps/assistant; source ~/.bashrc; make
6565
php /var/www/html/occ app:enable -f assistant
6666

6767
php /var/www/html/occ app:enable -f testing
68+
69+
git clone --depth 1 https://github.com/nextcloud/files_downloadlimit.git /var/www/html/apps/files_downloadlimit/
70+
php /var/www/html/occ app:enable -f files_downloadlimit
71+
72+
git clone --depth 1 -b master https://github.com/nextcloud/recommendations.git /var/www/html/apps/recommendations/
73+
php /var/www/html/occ app:enable -f recommendations
74+
75+
php /var/www/html/occ config:system:set ratelimit.protection.enabled --value false --type bool

library/src/androidTest/java/com/nextcloud/android/lib/resources/recommendations/GetRecommendationsRemoteOperationIT.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,8 @@ class GetRecommendationsRemoteOperationIT : AbstractIT() {
1919
testOnlyOnServer(NextcloudVersion.nextcloud_31)
2020
assertTrue(CreateFolderRemoteOperation("/test/", true).execute(client).isSuccess)
2121

22-
val sut = GetRecommendationsRemoteOperation().execute(nextcloudClient)
23-
24-
assertTrue(sut.exception.message, sut.isSuccess)
22+
val result = GetRecommendationsRemoteOperation().execute(nextcloudClient).resultData
2523

26-
val result = sut.resultData
27-
2824
assertTrue(result.enabled)
2925
assertTrue(result.recommendations.isNotEmpty())
3026
}

0 commit comments

Comments
 (0)