From 2364f54b6f6ac7c6738e5fc776ca78abc6450f2a Mon Sep 17 00:00:00 2001 From: rezaizadijahromi Date: Fri, 24 Dec 2021 23:12:32 +0330 Subject: [PATCH] fix profile update test #184 --- users/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/tests/test_views.py b/users/tests/test_views.py index 0013845..70646a8 100644 --- a/users/tests/test_views.py +++ b/users/tests/test_views.py @@ -78,7 +78,7 @@ def test_user_profile_update_view(self): url = 'users-api:profile_update' reversed_url = reverse(url) data = { - 'username':'TEST' + 'email':'TEST@gmail.com' } client = APIClient() client.force_authenticate(user=self.test_user)