- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for nothingElse (0.07 sec)
-
cmd/test-utils_test.go
} // test for unknown auth case. anonReq.Body = readerTwo // Setting the `Authorization` header to a random value so that the signature falls into unknown auth case. anonReq.Header.Set("Authorization", "nothingElse") // initialize new response recorder. rec = httptest.NewRecorder() // call the handler using the HTTP Request. apiRouter.ServeHTTP(rec, anonReq) // verify the response body for `ErrAccessDenied` message =.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0)