From be43e4594792b253b46c456f8e4e2506dc0e1645 Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 20 Dec 2023 22:37:44 +0100 Subject: [PATCH] fix: profiles test --- profiles/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/tests.py b/profiles/tests.py index cf8d9fa..087957c 100644 --- a/profiles/tests.py +++ b/profiles/tests.py @@ -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):