mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-26 02:53:46 +03:00
typo
This commit is contained in:
parent
08fcca9b48
commit
65b5caa3d0
|
@ -328,7 +328,7 @@ class APITestCase1(TestCase, BaseAPITestCase):
|
|||
status_code=status.HTTP_400_BAD_REQUEST)
|
||||
|
||||
self.post(self.register_url, data=self.REGISTRATION_DATA_WITH_EMAIL,
|
||||
status_code=status.HTTP_201_BAD_REQUEST)
|
||||
status_code=status.HTTP_201_CREATED)
|
||||
self.assertEqual(User.objects.all().count(), user_count + 1)
|
||||
self.assertEqual(len(mail.outbox), mail_count + 1)
|
||||
new_user = get_user_model().objects.latest('id')
|
||||
|
|
Loading…
Reference in New Issue
Block a user