test: add tests for authorized-action (#893)

This commit is contained in:
Jeff Malnick authored and GitHub committed 2021-01-29 08:04:46 -08:00
1 parent d65d4dbf6f
commit 10a5f1b832
17 files changed
+216 -13

No files matched your search

+9
View File
@@ -32,6 +32,15 @@ export NEW_GROUP='test'
[ "$status" -eq 0 ]
}
@test "boundary/groups: the $NEW_GROUP group contains default authorized-actions" {
local gid=$(group_id $NEW_GROUP)
local out=$(read_group $gid)
run has_default_group_actions "$out"
echo "$output"
[ "$status" -eq 0 ]
}
@test "boundary/group/add-members: can associate $NEW_GROUP group with default user" {
local gid=$(group_id $NEW_GROUP)
run assoc_group_acct 'u_1234567890' $gid