Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/run.sh')
-rw-r--r--tests/integration/run.sh8
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