fix: profiles test
This commit is contained in:
parent
9bdd07d59e
commit
be43e45947
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user