We call create_principal in create_user
This commit is contained in:
parent
1bf5467ebe
commit
a328846a8b
|
@ -40,7 +40,6 @@ class BaseTest:
|
|||
|
||||
user = UserService().create_user("internal", username, username=username)
|
||||
if isinstance(user, UserModel):
|
||||
UserService().create_principal(user_id=user.id)
|
||||
return user
|
||||
|
||||
raise ApiError(
|
||||
|
|
Loading…
Reference in New Issue