Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-12-09 12:57:26 +0300
committerJoas Schilling <coding@schilljs.com>2022-02-17 18:35:22 +0300
commit7a3a78b296f76a4e668097bcd9c32325988cfe17 (patch)
tree35a165cb87451e35b9884388d42517b1a2daa832
parent5da5ac9d48af9ac99f932036c8313d25d5949e9b (diff)
Allow local remote servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rwxr-xr-xtests/integration/run.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/integration/run.sh b/tests/integration/run.sh
index f29b8008e..51e1e72af 100755
--- a/tests/integration/run.sh
+++ b/tests/integration/run.sh
@@ -24,6 +24,11 @@ ${ROOT_DIR}/occ app:enable spreed || exit 1
${ROOT_DIR}/occ app:enable spreedcheats || exit 1
${ROOT_DIR}/occ app:list | grep spreed
+# Disable bruteforce protection because the integration tests do trigger them
+${ROOT_DIR}/occ config:system:set auth.bruteforce.protection.enabled --value false --type bool
+# Allow local remote urls otherwise we can not share
+${ROOT_DIR}/occ config:system:set allow_local_remote_servers --value true --type bool
+
export TEST_SERVER_URL="http://localhost:8080/"
export TEST_REMOTE_URL="http://localhost:8180/"
${APP_INTEGRATION_DIR}/vendor/bin/behat -f junit -f pretty $1 $2