summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/testing/advanced.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt
index c07b718a4d..a43cfbbe9b 100644
--- a/docs/topics/testing/advanced.txt
+++ b/docs/topics/testing/advanced.txt
@@ -46,7 +46,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.