MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / createTestID1User

Function createTestID1User

backend/pkg/httpserver/middlewares_test.go:28–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26)
27
28func createTestID1User() *auth.User {
29 return &auth.User{
30 ID: "testID1",
31 GitHubUserID: new("123456"),
32 }
33}
34
35// TODO: Move recoveryMiddleware into the lib directory to actually be used by the real server.
36func recoveryMiddleware(next http.Handler) http.Handler {

Callers 4

TestRemoveSavedSearchFunction · 0.85
TestPingUserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected