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):