Skip to content

Changes to Policy set API for PPRV #2362

Changes to Policy set API for PPRV

Changes to Policy set API for PPRV #2362

Triggered via pull request December 28, 2023 01:30
Status Failure
Total duration 44s
Artifacts

ci.yml

on: pull_request
Matrix: Test
Combine Test Reports
0s
Combine Test Reports
Summarize Tests
0s
Summarize Tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Lint: task_stages_integration_beta_test.go#L203
not enough arguments in call to createPolicySetWithOptions
Lint: task_stages_integration_beta_test.go#L242
not enough arguments in call to createPolicySetWithOptions
Lint: task_stages_integration_beta_test.go#L283
not enough arguments in call to createPolicySetWithOptions
Lint
Process completed with exit code 2.
Test (4, 3)
go test failed (exit code 1) The error output was: # github.com/hashicorp/go-tfe [github.com/hashicorp/go-tfe.test] ./task_stages_integration_beta_test.go:203:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) ./task_stages_integration_beta_test.go:242:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) ./task_stages_integration_beta_test.go:283:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) FAIL github.com/hashicorp/go-tfe [build failed] ? github.com/hashicorp/go-tfe/examples/backing_data [no test files] ? github.com/hashicorp/go-tfe/examples/configuration_versions [no test files] ? github.com/hashicorp/go-tfe/examples/organizations [no test files] ? github.com/hashicorp/go-tfe/examples/registry_modules [no test files] ? github.com/hashicorp/go-tfe/examples/run_errors [no test files] ? github.com/hashicorp/go-tfe/examples/state_versions [no test files] ? github.com/hashicorp/go-tfe/examples/users [no test files] ? github.com/hashicorp/go-tfe/examples/workspaces [no test files] ? github.com/hashicorp/go-tfe/mocks [no test files] FAIL
Test (4, 0)
go test failed (exit code 1) The error output was: # github.com/hashicorp/go-tfe [github.com/hashicorp/go-tfe.test] ./task_stages_integration_beta_test.go:203:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) ./task_stages_integration_beta_test.go:242:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) ./task_stages_integration_beta_test.go:283:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) FAIL github.com/hashicorp/go-tfe [build failed] ? github.com/hashicorp/go-tfe/examples/backing_data [no test files] ? github.com/hashicorp/go-tfe/examples/configuration_versions [no test files] ? github.com/hashicorp/go-tfe/examples/organizations [no test files] ? github.com/hashicorp/go-tfe/examples/registry_modules [no test files] ? github.com/hashicorp/go-tfe/examples/run_errors [no test files] ? github.com/hashicorp/go-tfe/examples/state_versions [no test files] ? github.com/hashicorp/go-tfe/examples/users [no test files] ? github.com/hashicorp/go-tfe/examples/workspaces [no test files] ? github.com/hashicorp/go-tfe/mocks [no test files] FAIL
Test (4, 1)
go test failed (exit code 1) The error output was: # github.com/hashicorp/go-tfe [github.com/hashicorp/go-tfe.test] ./task_stages_integration_beta_test.go:203:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) ./task_stages_integration_beta_test.go:242:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) ./task_stages_integration_beta_test.go:283:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) FAIL github.com/hashicorp/go-tfe [build failed] ? github.com/hashicorp/go-tfe/examples/backing_data [no test files] ? github.com/hashicorp/go-tfe/examples/configuration_versions [no test files] ? github.com/hashicorp/go-tfe/examples/organizations [no test files] ? github.com/hashicorp/go-tfe/examples/registry_modules [no test files] ? github.com/hashicorp/go-tfe/examples/run_errors [no test files] ? github.com/hashicorp/go-tfe/examples/state_versions [no test files] ? github.com/hashicorp/go-tfe/examples/users [no test files] ? github.com/hashicorp/go-tfe/examples/workspaces [no test files] ? github.com/hashicorp/go-tfe/mocks [no test files] FAIL
Test (4, 2)
go test failed (exit code 1) The error output was: # github.com/hashicorp/go-tfe [github.com/hashicorp/go-tfe.test] ./task_stages_integration_beta_test.go:203:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) ./task_stages_integration_beta_test.go:242:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) ./task_stages_integration_beta_test.go:283:89: not enough arguments in call to createPolicySetWithOptions have (*testing.T, *Client, *Organization, []*Policy, []*Workspace, PolicySetCreateOptions) want (*testing.T, *Client, *Organization, []*Policy, []*Workspace, []*Workspace, []*Project, PolicySetCreateOptions) FAIL github.com/hashicorp/go-tfe [build failed] ? github.com/hashicorp/go-tfe/examples/backing_data [no test files] ? github.com/hashicorp/go-tfe/examples/configuration_versions [no test files] ? github.com/hashicorp/go-tfe/examples/organizations [no test files] ? github.com/hashicorp/go-tfe/examples/registry_modules [no test files] ? github.com/hashicorp/go-tfe/examples/run_errors [no test files] ? github.com/hashicorp/go-tfe/examples/state_versions [no test files] ? github.com/hashicorp/go-tfe/examples/users [no test files] ? github.com/hashicorp/go-tfe/examples/workspaces [no test files] ? github.com/hashicorp/go-tfe/mocks [no test files] FAIL
Summarize Tests
Process completed with exit code 1.