Files
mmetc 14a1725efe cscli capi status: save auth token, add tests (#3623)
* "cscli capi status": save auth token
* CI: test auth token cache
* test that capi status saves the token too
* fix postgres test
2025-05-14 16:31:56 +02:00

25 lines
366 B
Bash

#!/usr/bin/env bats
set -u
setup_file() {
load "../lib/setup_file.sh"
}
teardown_file() {
load "../lib/teardown_file.sh"
}
setup() {
load "../lib/setup.sh"
load "../lib/bats-file/load.bash"
./instance-data load
}
#----------
@test "sql helper" {
rune -0 ./instance-db exec_sql "SELECT 11235813"
assert_output --partial '11235813'
}