fix: profiles test

This commit is contained in:
starnakin 2023-12-20 22:37:44 +01:00
parent 9bdd07d59e
commit be43e45947

View File

@ -7,8 +7,8 @@ class ProfileTest(TestCase):
def setUp(self):
self.user: User = User.objects.create(username='bozo', password='password')
self.user.save()
self.expected_response = {"name": "bozo",
"title": ""}
self.expected_response = {'avatar_url': '/static/avatars/default.avif', 'user_id': 1, 'username': 'bozo'}
self.url = "/api/profiles/"
def test_profile_create_on_user_created(self):