MCPcopy Create free account
hub / github.com/cloudbase/garm / TestCreateOrganizationEmptyParams

Method TestCreateOrganizationEmptyParams

runner/organizations_test.go:199–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197}
198
199func (s *OrgTestSuite) TestCreateOrganizationEmptyParams() {
200 _, err := s.Runner.CreateOrganization(s.Fixtures.AdminContext, params.CreateOrgParams{})
201
202 s.Require().Regexp("validating params: missing org name", err.Error())
203}
204
205func (s *OrgTestSuite) TestCreateOrganizationMissingCredentials() {
206 s.Fixtures.CreateOrgParams.CredentialsName = notExistingCredentialsName

Callers

nothing calls this directly

Calls 2

CreateOrganizationMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected