File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def test_email_unverified_to_verified_and_back(self):
108
108
109
109
# Verify a token exists for the user, sign in and check verified again
110
110
callback = CallbackToken .objects .filter (user = user , is_active = True ).first ()
111
- callback_data = {'token' : callback }
111
+ callback_data = {'email' : email , ' token' : callback }
112
112
callback_response = self .client .post (self .callback_url , callback_data )
113
113
self .assertEqual (callback_response .status_code , status .HTTP_200_OK )
114
114
@@ -158,7 +158,7 @@ def test_mobile_unverified_to_verified_and_back(self):
158
158
159
159
# Verify a token exists for the user, sign in and check verified again
160
160
callback = CallbackToken .objects .filter (user = user , is_active = True ).first ()
161
- callback_data = {'token' : callback }
161
+ callback_data = {'mobile' : mobile , ' token' : callback }
162
162
callback_response = self .client .post (self .callback_url , callback_data )
163
163
self .assertEqual (callback_response .status_code , status .HTTP_200_OK )
164
164
You can’t perform that action at this time.
0 commit comments