()
| 58 | } |
| 59 | |
| 60 | func newTestUser() *identity.User { |
| 61 | return &identity.User{ID: "user_1", Email: "alice@example.com"} |
| 62 | } |
| 63 | |
| 64 | // startServer creates an httptest server with the WS handler mounted on a mux router. |
| 65 | func startServer(t *testing.T, handler *Handler) *httptest.Server { |
no outgoing calls
no test coverage detected