Skip to content

Commit

Permalink
VAULT-528 two extra edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
VioletHynes committed Feb 13, 2024
1 parent 31622a1 commit 072b596
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dependency/vault_read_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -770,4 +770,12 @@ func TestDeletedKVv2(t *testing.T) {
},
},
}))
assert.False(t, deletedKVv2(&api.Secret{
Data: map[string]interface{}{
"metadata": "not an interface",
},
}))
assert.False(t, deletedKVv2(&api.Secret{
Data: map[string]interface{}{},
}))
}

0 comments on commit 072b596

Please sign in to comment.