(r *http.Request, id string)
| 117 | } |
| 118 | |
| 119 | func (h *testResourceHandler) Delete(r *http.Request, id string) error { |
| 120 | if _, ok := h.data[id]; !ok { |
| 121 | return errors.ScimErrorResourceNotFound(id) |
| 122 | } |
| 123 | delete(h.data, id) |
| 124 | return nil |
| 125 | } |
| 126 | |
| 127 | func (h testResourceHandler) Get(r *http.Request, id string) (scim.Resource, error) { |
| 128 | resource, ok := h.data[id] |
nothing calls this directly
no test coverage detected