test: support local-first testing
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Cherry-picked from coop-cloud/abra#389 Thanks @p4u1.
This commit is contained in:
@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user