From bd5c8645570c8b7baf057ffc497af0ca0c1a6ccc Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Wed, 16 Dec 2020 17:23:22 +0545 Subject: [PATCH 1/2] no LDAP or REDIS is needed to run tests --- docs/ocis/development/testing.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/ocis/development/testing.md b/docs/ocis/development/testing.md index 1b73581f3b9..31ed55c1562 100644 --- a/docs/ocis/development/testing.md +++ b/docs/ocis/development/testing.md @@ -83,7 +83,7 @@ make -C tests/acceptance/docker clean ## Testing with test suite natively installed -We are using the ownCloud 10 acceptance test suite against oCIS. To set this up you need the ownCloud 10 core repo, a LDAP server that the acceptance tests can use to manage users, a redis server for file-versions and the oCIS code. +We are using the ownCloud 10 acceptance test suite against oCIS. ### Getting the tests @@ -93,12 +93,6 @@ All you need to do to get the acceptance tests is check out the core repo: git clone https://github.com/owncloud/core.git ``` -### Run a redis server in a docker container - -File versions need a redis server. Start one with docker by using: - -`docker run -e REDIS_DATABASES=1 -p 6379:6379 -d webhippie/redis:latest` - ### Run ocis To start ocis: From e23a233e5506658ffd9e72641d01cc95a338ff3c Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Wed, 16 Dec 2020 17:29:50 +0545 Subject: [PATCH 2/2] tests need to be executed from the oc10 repo --- docs/ocis/development/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ocis/development/testing.md b/docs/ocis/development/testing.md index 31ed55c1562..c8c72113a18 100644 --- a/docs/ocis/development/testing.md +++ b/docs/ocis/development/testing.md @@ -112,7 +112,7 @@ In the ownCloud 10 core clone the testing app with the following command: git clone https://github.com/owncloud/testing apps/testing ``` -Then run the api acceptance tests with the following command from the root of the oCIS repository: +Then run the api acceptance tests with the following command from the root of the ownCloud 10 core repository: ``` make test-acceptance-api \ TEST_SERVER_URL=https://localhost:9200 \