Skip to content

[Feature] Add mutation policy acceptance tests #2231

[Feature] Add mutation policy acceptance tests

[Feature] Add mutation policy acceptance tests #2231

Triggered via pull request October 15, 2023 13:00
@ghostghost
synchronize #285
acc_tests
Status Failure
Total duration 3m 18s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: internal/resources/policy/kind/mutation/resource/mutation_policy_mock_test.go#L18
File is not `goimports`-ed with -local github.com/vmware/terraform-provider-tanzu-mission-control (goimports)
lint: internal/resources/policy/kind/mutation/resource/mutation_policy_mock_test.go#L280
func `bodyInspectingResponder` is unused (unused)
lint: internal/resources/policy/kind/mutation/resource/mutation_policy_mock_test.go#L125
func `(*testAcceptanceConfig).setUpOrgPolicyEndPointMocks` is unused (unused)
lint: internal/resources/policy/kind/mutation/resource/mutation_policy_mock_test.go#L172
func `getMockPolicyCreateSpec` is unused (unused)
lint: internal/resources/policy/kind/mutation/resource/mutation_policy_mock_test.go#L153
func `(*testAcceptanceConfig).generateOrgPolicy` is unused (unused)
lint: internal/resources/policy/kind/mutation/resource/mutation_policy_mock_test.go#L93
func `(*testAcceptanceConfig).setUpClusterGroupEndPointMocks` is unused (unused)
lint: internal/resources/policy/kind/mutation/resource/mutation_policy_mock_test.go#L329
func `changeStateResponder` is unused (unused)
lint: internal/resources/policy/kind/mutation/resource/test_helper.go#L36
func `getSetupConfig` is unused (unused)
lint: internal/resources/policy/kind/mutation/resource/mutation_policy_mock_test.go#L52
func `(*testAcceptanceConfig).setUpClusterGroupPolicyEndpointMocks` is unused (unused)
lint: internal/resources/policy/kind/mutation/resource/mutation_policy_mock_test.go#L39
func `(*testAcceptanceConfig).setupHTTPMocks` is unused (unused)