0
0
forked from toolshed/abra

test/integration local server

This commit is contained in:
2023-11-13 15:37:52 +01:00
parent 8065f29f68
commit f57b45888b

View File

@ -1,7 +1,11 @@
#!/usr/bin/env bash
_add_server() {
run $ABRA server add "$TEST_SERVER"
if [[ "$TEST_SERVER" == "default" ]]; then
run $ABRA server add -l
else
run $ABRA server add "$TEST_SERVER"
fi
assert_success
assert_exists "$ABRA_DIR/servers/$TEST_SERVER"
}