diff options
Diffstat (limited to 'tests/integration/run.sh')
-rw-r--r-- | tests/integration/run.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/integration/run.sh b/tests/integration/run.sh index 41c7f7a..c7f9d5c 100644 --- a/tests/integration/run.sh +++ b/tests/integration/run.sh @@ -1,7 +1,9 @@ #!/usr/bin/env bash +APP_NAME=notifications + APP_INTEGRATION_DIR=$PWD -ROOT_DIR=../../../.. +ROOT_DIR=${APP_INTEGRATION_DIR}/../../../.. cd ${ROOT_DIR}/build/integration composer install @@ -11,10 +13,14 @@ php -S localhost:8080 -t ${ROOT_DIR} & PHPPID=$! echo $PHPPID +${ROOT_DIR}/occ config:app:set ${APP_NAME} debug --value="on" + export TEST_SERVER_URL="http://localhost:8080/ocs/" ${ROOT_DIR}/build/integration/vendor/bin/behat -f junit -f pretty RESULT=$? kill $PHPPID +${ROOT_DIR}/occ config:app:delete ${APP_NAME} debug + exit $RESULT |