diff --git a/pkg/types/credential_test.go b/pkg/types/credential_test.go index 74e74e55..b6f70ee3 100644 --- a/pkg/types/credential_test.go +++ b/pkg/types/credential_test.go @@ -125,10 +125,12 @@ func TestParseCredentialArgs(t *testing.T) { wantErr: true, }, { - name: "invalid input", - toolName: "myCredentialTool", - input: `{"asdf":"asdf"`, - wantErr: true, + name: "invalid input", + toolName: "myCredentialTool", + input: `{"asdf":"asdf"`, + expectedName: "myCredentialTool", + expectedAlias: "", + wantErr: false, }, }