Skip to content
Browse files

Fixed #21304 -- Typo in docs/topics/testing/advanced.txt

Thanks joao at for the report.
  • Loading branch information...
1 parent 5240b83 commit 9704c49d5951aadbfc03624e399d881ebf7a3eb5 @timgraham timgraham committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/testing/advanced.txt
2 docs/topics/testing/advanced.txt
@@ -45,7 +45,7 @@ The following is a simple unit test using the request factory::
# Every test needs access to the request factory.
self.factory = RequestFactory()
self.user = User.objects.create_user(
- first_name='jacob', email='jacob@…', password='top_secret')
+ username='jacob', email='jacob@…', password='top_secret')
def test_details(self):
# Create an instance of a GET request.

0 comments on commit 9704c49

Please sign in to comment.
Something went wrong with that request. Please try again.