test(bats): Add list tests for other resource types (#3869)
This commit is contained in:
1 parent
cad044926f
commit
e089aa219d
6 files changed
+175
-2
No files matched your search
@@ -21,7 +21,7 @@ function delete_token() {
|
||||
|
||||
function token_id() {
|
||||
local tid=$1
|
||||
strip $(read_token $tid | jq '.item.id')
|
||||
strip $(read_token $tid | jq '.item.id')
|
||||
}
|
||||
|
||||
function logout_cmd() {
|
||||
@@ -34,4 +34,8 @@ function get_token() {
|
||||
|
||||
function read_token_no_keyring() {
|
||||
boundary auth-tokens read -keyring-type=none -id $1
|
||||
}
|
||||
}
|
||||
|
||||
function list_tokens() {
|
||||
boundary auth-tokens list -format json
|
||||
}
|
||||
Reference in new issue
Block a user