(orgID, username string)
| 142 | if out[i].OrgID != out[j].OrgID { |
| 143 | return out[i].OrgID < out[j].OrgID |
| 144 | } |
| 145 | return out[i].TeamID < out[j].TeamID |
| 146 | }) |
| 147 | return out, nil |
| 148 | } |
| 149 | |
| 150 | func (s *fakeAPIStore) CreateOrgTeam(orgID string, team *configstore.OrgTeam) error { |
| 151 | if _, ok := s.orgs[orgID]; !ok { |
| 152 | return gorm.ErrRecordNotFound |
| 153 | } |
| 154 | if _, ok := s.teams[orgID][team.TeamID]; ok { |
nothing calls this directly
no outgoing calls
no test coverage detected