Skip to content

Commit a5a1bc7

Browse files
committedJan 24, 2020
Tests
1 parent d14970c commit a5a1bc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/test_settings.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def test_email_unverified_to_verified_and_back(self):
108108

109109
# Verify a token exists for the user, sign in and check verified again
110110
callback = CallbackToken.objects.filter(user=user, is_active=True).first()
111-
callback_data = {'token': callback}
111+
callback_data = {'email': email, 'token': callback}
112112
callback_response = self.client.post(self.callback_url, callback_data)
113113
self.assertEqual(callback_response.status_code, status.HTTP_200_OK)
114114

@@ -158,7 +158,7 @@ def test_mobile_unverified_to_verified_and_back(self):
158158

159159
# Verify a token exists for the user, sign in and check verified again
160160
callback = CallbackToken.objects.filter(user=user, is_active=True).first()
161-
callback_data = {'token': callback}
161+
callback_data = {'mobile': mobile, 'token': callback}
162162
callback_response = self.client.post(self.callback_url, callback_data)
163163
self.assertEqual(callback_response.status_code, status.HTTP_200_OK)
164164

0 commit comments

Comments
 (0)