chore(api): rename editor role to host

This commit is contained in:
jo 2022-06-27 17:13:05 +02:00 committed by Kyle Robbertze
parent 4009e7eeb6
commit e730959e9f
5 changed files with 16 additions and 16 deletions

View file

@ -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",