Skip to content

Commit

Permalink
tests: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fritterhoff committed May 28, 2024
1 parent fbb93f1 commit 73a980a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions authority/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1961,13 +1961,13 @@ func TestAuthority_CRL(t *testing.T) {

type notImplementedCAS struct{}

func (notImplementedCAS) CreateCertificate(req *apiv1.CreateCertificateRequest) (*apiv1.CreateCertificateResponse, error) {
func (notImplementedCAS) CreateCertificate(context context.Context, req *apiv1.CreateCertificateRequest) (*apiv1.CreateCertificateResponse, error) {

Check failure on line 1964 in authority/tls_test.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

importShadow: shadow of imported package 'context' (gocritic)
return nil, apiv1.NotImplementedError{}
}
func (notImplementedCAS) RenewCertificate(req *apiv1.RenewCertificateRequest) (*apiv1.RenewCertificateResponse, error) {
func (notImplementedCAS) RenewCertificate(context context.Context, req *apiv1.RenewCertificateRequest) (*apiv1.RenewCertificateResponse, error) {

Check failure on line 1967 in authority/tls_test.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

importShadow: shadow of imported package 'context' (gocritic)
return nil, apiv1.NotImplementedError{}
}
func (notImplementedCAS) RevokeCertificate(req *apiv1.RevokeCertificateRequest) (*apiv1.RevokeCertificateResponse, error) {
func (notImplementedCAS) RevokeCertificate(context context.Context, req *apiv1.RevokeCertificateRequest) (*apiv1.RevokeCertificateResponse, error) {

Check failure on line 1970 in authority/tls_test.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

importShadow: shadow of imported package 'context' (gocritic)
return nil, apiv1.NotImplementedError{}
}

Expand Down

0 comments on commit 73a980a

Please sign in to comment.