diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-02-01 13:01:11 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-02-02 12:57:10 +0100 |
commit | 4b6bd8b0c56c4db24582fa965acec054fa38e3bf (patch) | |
tree | 7124b55cbd99c657cf46c608471c2e46969946f9 /apps | |
parent | f9ed7956084e1dee27cad2357ef9cfaac2e9d798 (diff) | |
download | nextcloud-server-4b6bd8b0c56c4db24582fa965acec054fa38e3bf.tar.gz nextcloud-server-4b6bd8b0c56c4db24582fa965acec054fa38e3bf.zip |
fix(tests): Adjust `files_external` tests to also work locally with WebDAV
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/files_external/tests/env/start-webdav-apache.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/tests/env/start-webdav-apache.sh b/apps/files_external/tests/env/start-webdav-apache.sh index a5464c9cfab..c58225d89b0 100755 --- a/apps/files_external/tests/env/start-webdav-apache.sh +++ b/apps/files_external/tests/env/start-webdav-apache.sh @@ -23,8 +23,8 @@ fi echo "Docker executable found - setup docker" -echo "Fetch recent morrisjobke/webdav docker image" -docker pull morrisjobke/webdav +echo "Fetch recent webdav docker image" +docker pull ghcr.io/nextcloud/continuous-integration-webdav-apache:latest # retrieve current folder to place the config in the parent folder thisFolder=`echo $0 | sed 's#env/start-webdav-apache\.sh##'` @@ -45,7 +45,7 @@ if [ -n "$RUN_DOCKER_MYSQL" ]; then parameter="--link $containerName:db" fi -container=`docker run -P $parameter -d -e USERNAME=test -e PASSWORD=test morrisjobke/webdav` +container=`docker run -P $parameter -d --rm ghcr.io/nextcloud/continuous-integration-webdav-apache:latest` host=`docker inspect --format="{{.NetworkSettings.IPAddress}}" $container` echo -n "Waiting for Apache initialization on ${host}:${port}" @@ -64,7 +64,7 @@ return array( 'run'=>true, 'host'=>'${host}:80/webdav/', 'user'=>'test', - 'password'=>'test', + 'password'=>'pass', 'root'=>'', // wait delay in seconds after write operations // (only in tests) |