From 45224d1349ece0170be7548507a3aaef63db7f47 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Mon, 24 Jan 2022 17:04:42 +0100 Subject: [PATCH] test: use new flags + order for record/server --- tests/integration/records.sh | 15 +++++++++++++-- tests/integration/server.sh | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) 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'