]> source.dussan.org Git - nextcloud-server.git/commitdiff
Allow local remotes in integration tests 20138/head
authorJoas Schilling <coding@schilljs.com>
Wed, 15 Apr 2020 06:24:18 +0000 (08:24 +0200)
committerJoas Schilling <coding@schilljs.com>
Wed, 15 Apr 2020 06:24:18 +0000 (08:24 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
build/integration/run.sh

index fc6e35f078b4530c7d8611731a64162616e0c560..4808ab58ef5f9f68306defa3738c6e36a90d6629 100755 (executable)
@@ -16,6 +16,8 @@ INSTALLED=$($OCC status | grep installed: | cut -d " " -f 5)
 if [ "$INSTALLED" == "true" ]; then
     # Disable bruteforce protection because the integration tests do trigger them
     $OCC config:system:set auth.bruteforce.protection.enabled --value false --type bool
+    # Allow local remote urls otherwise we can not share
+    $OCC config:system:set allow_local_remote_servers --value true --type bool
 else
     if [ "$SCENARIO_TO_RUN" != "setup_features/setup.feature" ]; then
         echo "Nextcloud instance needs to be installed" >&2