mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-20 05:23:15 -04:00
Reduce copying of web test code
This commit is contained in:
1 parent
c7cdccf8da
commit
f549d71597
2 files changed
+4
-2
No files matched your search
@@ -46,7 +46,8 @@ clean_up() {
|
||||
|
||||
trap clean_up SIGHUP SIGINT SIGTERM EXIT
|
||||
|
||||
cp -r "$WEB_PATH"/tests "$testFolder"
|
||||
cp -r "$WEB_PATH"/tests/acceptance/stepDefinitions "$testFolder"
|
||||
cp "$WEB_PATH"/tests/acceptance/setup.js "$testFolder"
|
||||
|
||||
export SERVER_HOST=${SERVER_HOST:-https://localhost:9200}
|
||||
export BACKEND_HOST=${BACKEND_HOST:-https://localhost:9200}
|
||||
|
||||
@@ -40,7 +40,8 @@ clean_up() {
|
||||
|
||||
trap clean_up SIGHUP SIGINT SIGTERM EXIT
|
||||
|
||||
cp -r "$WEB_PATH"/tests "$testFolder"
|
||||
cp -r "$WEB_PATH"/tests/acceptance/stepDefinitions "$testFolder"
|
||||
cp "$WEB_PATH"/tests/acceptance/setup.js "$testFolder"
|
||||
|
||||
export SERVER_HOST=${SERVER_HOST:-https://localhost:9200}
|
||||
export BACKEND_HOST=${BACKEND_HOST:-https://localhost:9200}
|
||||
|
||||
Reference in new issue
Block a user