(method, resource, body, username string)
| 967 | } |
| 968 | |
| 969 | func (rt *RestTester) SendUserRequest(method, resource, body, username string) *TestResponse { |
| 970 | return rt.Send(RequestByUser(method, rt.mustTemplateResource(resource), body, username)) |
| 971 | } |
| 972 | |
| 973 | func (rt *RestTester) WaitForNUserViewResults(numResultsExpected int, viewUrlPath string, user auth.User, password string) (viewResult sgbucket.ViewResult) { |
| 974 | return rt.WaitForNViewResults(numResultsExpected, viewUrlPath, user, password) |