diff --git a/test-moodle.sh b/test-moodle.sh index 7bcfd47ba68bad2899fd63528e6aadc43d19a612..a1f450e4462aa22ac9c7489d4e162d87372f1028 100644 --- a/test-moodle.sh +++ b/test-moodle.sh @@ -6,8 +6,8 @@ set -e # ============================================================================== # --- Configuration (UPDATE THESE!) --- -MOODLE_URL="http://localhost:8080" -BACKEND_URL="http://localhost:8081" +MOODLE_URL="${MOODLE_URL:-http://localhost:8080}" +BACKEND_URL="${BACKEND_URL:-http://localhost:8081}" MOODLE_ADMIN_USER="user" MOODLE_ADMIN_PASS="QAYwsx@12345" # Automation User (Course creator)