mirror of
https://github.com/django/django.git
synced 2025-07-23 13:15:32 +00:00
Fixed #21304 -- Typo in docs/topics/testing/advanced.txt
Thanks joao at silvaneves.org for the report.
This commit is contained in:
parent
5240b83462
commit
9704c49d59
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue