(t *testing.T, reg mockDeps)
| 189 | } |
| 190 | |
| 191 | func MockSessionCreateHandler(t *testing.T, reg mockDeps) (http.HandlerFunc, *session.Session) { |
| 192 | return MockSessionCreateHandlerWithIdentity(t, reg, &identity.Identity{ |
| 193 | ID: x.NewUUID(), State: identity.StateActive, Traits: identity.Traits(`{"baz":"bar","foo":true,"bar":2.5}`), |
| 194 | }) |
| 195 | } |