Browse Source

Allow local remotes in integration tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v19.0.0beta3
Joas Schilling 4 years ago
parent
commit
4e846dda4d
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      build/integration/run.sh

+ 2
- 0
build/integration/run.sh View File

@@ -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

Loading…
Cancel
Save