(rt *RestTester, username string, docids []string, expectedOutput string)
| 32 | } |
| 33 | |
| 34 | func compareUserDocSeqsOutput(rt *RestTester, username string, docids []string, expectedOutput string) { |
| 35 | response := rt.SendDiagnosticRequest(http.MethodGet, |
| 36 | "/{{.keyspace}}/_user/"+username+"?docids="+strings.Join(docids, ","), ``) |
| 37 | RequireStatus(rt.TB(), response, http.StatusOK) |
| 38 | rt.TB().Logf("All channels response: %s", response.BodyString()) |
| 39 | require.JSONEq(rt.TB(), rt.mustTemplateResource(expectedOutput), response.BodyString()) |
| 40 | } |
| 41 | |
| 42 | type userGrant struct { |
| 43 | user string |
no test coverage detected