test: use new flags + order for record/server

This commit is contained in:
decentral1se 2022-01-24 17:04:42 +01:00
parent 7a40e2d616
commit 45224d1349
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 14 additions and 3 deletions

View File

@ -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
"

View File

@ -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'