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

Method TestCreateOrgPoolErrUnauthorized

runner/organizations_test.go:426–430  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

424}
425
426func (s *OrgTestSuite) TestCreateOrgPoolErrUnauthorized() {
427 _, err := s.Runner.CreateOrgPool(context.Background(), "dummy-org-id", s.Fixtures.CreatePoolParams)
428
429 s.Require().Equal(runnerErrors.ErrUnauthorized, err)
430}
431
432func (s *OrgTestSuite) TestCreateOrgPoolFetchPoolParamsFailed() {
433 s.Fixtures.CreatePoolParams.ProviderName = notExistingProviderName

Callers

nothing calls this directly

Calls 1

CreateOrgPoolMethod · 0.65

Tested by

no test coverage detected