Added testcase for row not found
This commit is contained in:
parent
cd3c13f30e
commit
805fd182cd
1 changed files with 7 additions and 0 deletions
|
|
@ -110,3 +110,10 @@ func TestReadSecret(t *testing.T) {
|
||||||
log.Fatal("kv2: Failed to read secret:\n\t", err)
|
log.Fatal("kv2: Failed to read secret:\n\t", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestReadSecret2(t *testing.T) {
|
||||||
|
_, err := client.Secrets.KvV2Read(ctx, "ba")
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal("kv2: Failed to read secret:\n\t", err)
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue