chore(api): rename editor role to host
This commit is contained in:
parent
4009e7eeb6
commit
e730959e9f
5 changed files with 16 additions and 16 deletions
|
@ -7,7 +7,7 @@ from ...models import Role, User
|
|||
class TestUserManager(APITestCase):
|
||||
def test_create_user(self):
|
||||
user = User.objects.create_user(
|
||||
role=Role.EDITOR,
|
||||
role=Role.HOST,
|
||||
username="test",
|
||||
password="test",
|
||||
email="test@example.com",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue