NewUser creates a new user in the fixture's admin service.
(t *testing.T)
| 227 | |
| 228 | // NewUser creates a new user in the fixture's admin service. |
| 229 | func (f *Fixture) NewUser(t *testing.T) (*database.User, *client.Client) { |
| 230 | return f.NewUserWithDomain(t, "test-user.com") |
| 231 | } |
| 232 | |
| 233 | // NewSuperuser creates a new user with superuser permission in the fixture's admin service. |
| 234 | func (f *Fixture) NewSuperuser(t *testing.T) (*database.User, *client.Client) { |