Fix broken integration tests
-
a code change to p1 createProject broke integration tests
-
update integrations test or revert change to p1 createProject
-
recreate
ninja@SpaceCAMP109:~/repos/repo1/valkyrie/valkyrie-api$ make integrationRunning Integration Test. Be patient. Some tests may take up to 2 minutes.
# valkyrie.dso.mil/valkyrie-api/integration-tests/custom/p1 [valkyrie.dso.mil/valkyrie-api/integration-tests/custom/p1.test]
integration-tests/custom/p1/p1_projects_bootstrap_test.go:59:18: assignment mismatch: 2 variables but p1.CreateProject returns 3 values
integration-tests/custom/p1/p1_projects_bootstrap_test.go:59:43: too many arguments in call to p1.CreateProject
have (p1.GitlabCredentials, "valkyrie.dso.mil/valkyrie-api/apis/gitlab/v1alpha1".ProjectSpec, nil)
want ("valkyrie.dso.mil/valkyrie-api/clients/gitlab".Client, "valkyrie.dso.mil/valkyrie-api/apis/gitlab/v1alpha1".ProjectSpec)
integration-tests/custom/p1/p1_projects_bootstrap_test.go:119:18: assignment mismatch: 2 variables but p1.CreateProject returns 3 values
integration-tests/custom/p1/p1_projects_bootstrap_test.go:119:43: too many arguments in call to p1.CreateProject
have (p1.GitlabCredentials, "valkyrie.dso.mil/valkyrie-api/apis/gitlab/v1alpha1".ProjectSpec, nil)
want ("valkyrie.dso.mil/valkyrie-api/clients/gitlab".Client, "valkyrie.dso.mil/valkyrie-api/apis/gitlab/v1alpha1".ProjectSpec)
integration-tests/custom/p1/p1_projects_bootstrap_test.go:173:18: assignment mismatch: 2 variables but p1.CreateProject returns 3 values
integration-tests/custom/p1/p1_projects_bootstrap_test.go:173:43: too many arguments in call to p1.CreateProject
have (p1.GitlabCredentials, "valkyrie.dso.mil/valkyrie-api/apis/gitlab/v1alpha1".ProjectSpec, nil)
want ("valkyrie.dso.mil/valkyrie-api/clients/gitlab".Client, "valkyrie.dso.mil/valkyrie-api/apis/gitlab/v1alpha1".ProjectSpec)
integration-tests/custom/p1/p1_projects_test.go:35:18: assignment mismatch: 2 variables but p1.CreateProject returns 3 values
integration-tests/custom/p1/p1_projects_test.go:35:44: too many arguments in call to p1.CreateProject
have (p1.GitlabCredentials, "valkyrie.dso.mil/valkyrie-api/apis/gitlab/v1alpha1".ProjectSpec, nil)
want ("valkyrie.dso.mil/valkyrie-api/clients/gitlab".Client, "valkyrie.dso.mil/valkyrie-api/apis/gitlab/v1alpha1".ProjectSpec)
FAIL valkyrie.dso.mil/valkyrie-api/integration-tests/custom/p1 [build failed]
ok valkyrie.dso.mil/valkyrie-api/integration-tests/fortify 0.652s
Edited by abrichards