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

Method TestListOrganizations

database/sql/organizations_test.go:352–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

350}
351
352func (s *OrgTestSuite) TestListOrganizations() {
353 orgs, err := s.Store.ListOrganizations(s.adminCtx, params.OrganizationFilter{})
354
355 s.Require().Nil(err)
356 garmTesting.EqualDBEntityByName(s.T(), s.Fixtures.Orgs, orgs)
357}
358
359func (s *OrgTestSuite) TestListOrganizationsWithFilters() {
360 org, err := s.Store.CreateOrganization(

Callers

nothing calls this directly

Calls 1

ListOrganizationsMethod · 0.65

Tested by

no test coverage detected