Skip to content

Commit

Permalink
fix: test on public methods instead of private method (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
sailorlqh authored Mar 15, 2023
1 parent 6db2a51 commit 515ee9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/jvscrypto/cert_action_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func TestCertificateAction(t *testing.T) {
KMSClient: c,
}

gotErr := service.certificateAction(ctx, tc.request)
_, gotErr := service.CertificateAction(ctx, tc.request)

if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 515ee9a

Please sign in to comment.