Migrate plugin host/set/catalog prefixes to typed (#2256)
* Migrate plugin host/set/catalog prefixes to typed * Add credential store typing too
This commit is contained in:
1 parent
674b9627af
commit
8c56a5648d
20 files changed
+178
-71
No files matched your search
@@ -194,7 +194,7 @@ func TestErrors(t *testing.T) {
|
||||
apiErr = api.AsServerError(err)
|
||||
assert.NotNil(apiErr)
|
||||
|
||||
_, err = c.Read(tc.Context(), static.CredentialPrefix+"_doesntexis")
|
||||
_, err = c.Read(tc.Context(), static.UsernamePasswordCredentialPrefix+"_doesntexis")
|
||||
require.Error(err)
|
||||
apiErr = api.AsServerError(err)
|
||||
assert.NotNil(apiErr)
|
||||
|
||||
Reference in new issue
Block a user