Skip to content

Added unit tests for mutatingwebhook.go #47

Added unit tests for mutatingwebhook.go

Added unit tests for mutatingwebhook.go #47

Triggered via pull request November 8, 2023 21:56
@himehime
synchronize #114
unit_tests
Status Failure
Total duration 6m 38s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
verify: pkg/webhook/mutatingwebhook_test.go#L122
parameter *testing.T should be the first or after context.Context (thelper)
verify: pkg/webhook/mutatingwebhook_test.go#L126
return with no blank line before (nlreturn)
verify: pkg/webhook/mutatingwebhook_test.go#L160
parameter *testing.T should be the first or after context.Context (thelper)
verify: pkg/webhook/mutatingwebhook_test.go#L164
return with no blank line before (nlreturn)
verify
Process completed with exit code 2.