Fix tests
This commit is contained in:
@@ -263,6 +263,9 @@ if api_post "$BASE_URL/register" "{\"firstName\":\"Oscar\",\"lastName\":\"Hughes
|
||||
|
||||
# Promote Admin
|
||||
docker exec postgres psql -U myuser -d mydb -c "UPDATE users SET account_role = 'admin' WHERE email = '$ADMIN_EMAIL'" > /dev/null 2>&1
|
||||
|
||||
# Set deposits_required=0 for all users (so they can confirm bookings without deposit issues)
|
||||
docker exec postgres psql -U myuser -d mydb -c "UPDATE users SET deposits_required = 0" > /dev/null 2>&1
|
||||
echo "${C_GREEN}✅ Registered $success/$total Users${C_RESET}"
|
||||
|
||||
# 2. Login
|
||||
|
||||
Reference in New Issue
Block a user