We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6c1db6 commit eafe115Copy full SHA for eafe115
1 file changed
store/keychain/keychain_test.go
@@ -85,4 +85,10 @@ func TestKeychain(t *testing.T) {
85
_, err := ks.Get(t.Context(), id)
86
require.ErrorIs(t, err, store.ErrCredentialNotFound)
87
})
88
+
89
+ t.Run("delete non-existent credential", func(t *testing.T) {
90
+ id := store.ID("com.test.test/test/does-not-exist")
91
+ require.NoError(t, id.Valid())
92
+ require.NoError(t, ks.Delete(t.Context(), id))
93
+ })
94
}
0 commit comments