diff --git a/tests/integration/records.sh b/tests/integration/records.sh index 54ba2d5f..a40856c5 100755 --- a/tests/integration/records.sh +++ b/tests/integration/records.sh @@ -3,8 +3,19 @@ source ./testfunctions.sh source ./common.sh -run_test '$ABRA record new --provider gandi --type A --name integration-tests --value 192.157.2.21 coopcloud.tech' +run_test "$ABRA record new \ + --provider gandi \ + --record-type A \ + --record-name integration-tests \ + --record-value 192.157.2.21 \ + --no-input coopcloud.tech \ + " run_test '$ABRA record list --provider gandi coopcloud.tech' -run_test '$ABRA -n record rm --provider gandi --type A --name integration-tests coopcloud.tech' +run_test "$ABRA record rm \ + --provider gandi \ + --record-type A \ + --record-name integration-tests \ + --no-input coopcloud.tech + " diff --git a/tests/integration/server.sh b/tests/integration/server.sh index a0630ce6..6a1d0381 100755 --- a/tests/integration/server.sh +++ b/tests/integration/server.sh @@ -3,7 +3,7 @@ source ./testfunctions.sh source ./common.sh -run_test '$ABRA -n server new --provider hetzner-cloud --hetzner-name integration-tests' +run_test '$ABRA server new --provider hetzner-cloud --hetzner-name integration-tests --no-input' run_test '$ABRA server ls'