summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-04-15 08:24:18 +0200
committerJoas Schilling <coding@schilljs.com>2020-04-15 08:24:18 +0200
commit4e846dda4dd3a7b99d6cea9d70f5dafc9cdbb15f (patch)
treef47a6700b053433ffad8d84e68f1760139d4b62a /build
parentfd0c1a3bb234fdfeb01bb5f36b2c1183ef01bc9c (diff)
downloadnextcloud-server-4e846dda4dd3a7b99d6cea9d70f5dafc9cdbb15f.tar.gz
nextcloud-server-4e846dda4dd3a7b99d6cea9d70f5dafc9cdbb15f.zip
Allow local remotes in integration tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/integration/run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/integration/run.sh b/build/integration/run.sh
index fc6e35f078b..4808ab58ef5 100755
--- a/build/integration/run.sh
+++ b/build/integration/run.sh
@@ -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