Compare commits

..

1 Commits

Author SHA1 Message Date
decentral1se 14f2d72aba
refactor!: lowercase, hyphenate keys
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
This will potentially break scripts, so time to discuss!
2023-10-05 08:36:01 +02:00
1 changed files with 16 additions and 0 deletions

View File

@ -325,6 +325,22 @@ setup(){
assert_success
}
@test "ls: show secrets as machine readable" {
run $ABRA app secret ls "$TEST_APP_DOMAIN"
assert_success
assert_output --partial 'false'
run $ABRA app secret generate "$TEST_APP_DOMAIN" --all
assert_success
run $ABRA app secret ls "$TEST_APP_DOMAIN" --machine
assert_success
assert_output --partial '"created-on-server":"true"'
run $ABRA app secret rm "$TEST_APP_DOMAIN" --all
assert_success
}
@test "ls: bail if unstaged changes and no --chaos" {
run bash -c "echo foo >> $ABRA_DIR/recipes/$TEST_RECIPE/foo"
assert_success