Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronn committed Jun 3, 2017
1 parent 2fb9420 commit 6735b1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_email_unverified_to_verified_and_back(self):
self.assertEqual(getattr(user, self.email_verified_field_name), False)

# Verify
callback_response = self.client.post(self.verify_url, {})
callback_response = self.client.post(self.verify_url)
self.assertEqual(callback_response.status_code, status.HTTP_200_OK)

# Refresh User
Expand Down Expand Up @@ -91,7 +91,7 @@ def setUp(self):

self.url = '/auth/mobile/'
self.callback_url = '/callback/auth/'
self.verify_url = '/verify/email/'
self.verify_url = '/verify/mobile/'
self.callback_verify = '/callback/verify/'
self.mobile_field_name = api_settings.PASSWORDLESS_USER_MOBILE_FIELD_NAME
self.mobile_verified_field_name = api_settings.PASSWORDLESS_USER_MOBILE_VERIFIED_FIELD_NAME
Expand Down Expand Up @@ -128,7 +128,7 @@ def test_mobile_unverified_to_verified_and_back(self):
self.assertEqual(getattr(user, self.mobile_verified_field_name), False)

# Verify
callback_response = self.client.post(self.verify_url, {})
callback_response = self.client.post(self.verify_url)
self.assertEqual(callback_response.status_code, status.HTTP_200_OK)

# Refresh User
Expand Down

0 comments on commit 6735b1b

Please sign in to comment.