get a config
(t *testing.T, userID string)
| 53 | |
| 54 | // get a config |
| 55 | func (c configurable) get(t *testing.T, userID string) userconfig.View { |
| 56 | w := requestAsUser(t, userID, "GET", c.Endpoint, "", nil) |
| 57 | return parseView(t, w.Body.Bytes()) |
| 58 | } |
| 59 | |
| 60 | // configs returns 401 to requests without authentication. |
| 61 | func Test_GetConfig_Anonymous(t *testing.T) { |
no test coverage detected