Chore: Remove CreateUserForTests() (#64125)
* Chore: Remove CreateUserForTests
* Apply suggestion from code review
(cherry picked from commit e6e8351ee9)
This commit is contained in:
committed by
GitHub
parent
5014df0521
commit
8c12f75b0b
@@ -128,7 +128,7 @@ func createUser(t *testing.T, store *sqlstore.SQLStore, cmd user.CreateUserComma
|
||||
usrSvc, err := userimpl.ProvideService(store, orgService, store.Cfg, nil, nil, quotaService)
|
||||
require.NoError(t, err)
|
||||
|
||||
_, err = usrSvc.CreateUserForTests(context.Background(), &cmd)
|
||||
_, err = usrSvc.Create(context.Background(), &cmd)
|
||||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user