diff options
Diffstat (limited to 'djangorestframework/tests/request.py')
| -rw-r--r-- | djangorestframework/tests/request.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/request.py b/djangorestframework/tests/request.py index 8b2f66ee..51e3660c 100644 --- a/djangorestframework/tests/request.py +++ b/djangorestframework/tests/request.py @@ -217,7 +217,7 @@ class TestContentParsing(TestCase): class MockView(APIView): - authentication = (SessionAuthentication,) + authentication_classes = (SessionAuthentication,) def post(self, request): if request.POST.get('example') is not None: |
