aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/test.py')
-rw-r--r--rest_framework/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/test.py b/rest_framework/test.py
index 2e9cfe09..2f658a56 100644
--- a/rest_framework/test.py
+++ b/rest_framework/test.py
@@ -109,7 +109,7 @@ class APIClient(APIRequestFactory, DjangoClient):
"""
self._credentials = kwargs
- def authenticate(self, user=None, token=None):
+ def force_authenticate(self, user=None, token=None):
"""
Forcibly authenticates outgoing requests with the given
user and/or token.