(t *testing.T, roles ...models.CommitmentRolesInput)
| 20 | } |
| 21 | |
| 22 | func newGraphHTTP(t *testing.T, roles ...models.CommitmentRolesInput) *graphHTTP { |
| 23 | return newGraphHTTPOn(t, testServer(t), roles...) |
| 24 | } |
| 25 | func newGraphHTTPOn(t *testing.T, srv *Server, roles ...models.CommitmentRolesInput) *graphHTTP { |
| 26 | f := &graphHTTP{schedHTTP: newSchedHTTPOn(t, srv), access: models.CommitmentAccess{Readable: map[string]bool{}, Editable: map[string]bool{}}} |
| 27 | for i, r := range roles { |
no test coverage detected