Skip to content

Commit f2bf289

Browse files
committed
chore: test cases
1 parent 5bbc17f commit f2bf289

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lms/djangoapps/support/views/feature_based_enrollments.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class FeatureBasedEnrollmentSupportAPIView(GenericAPIView):
4343
Support-only API View for getting feature based enrollment configuration details
4444
for a course.
4545
"""
46+
authentication_classes = (
47+
JwtAuthentication, SessionAuthentication
48+
)
4649
permission_classes = (IsAuthenticated,)
4750

4851
@method_decorator(require_support_permission)

openedx/core/djangoapps/user_api/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from opaque_keys import InvalidKeyError
1111
from opaque_keys.edx import locator
1212
from opaque_keys.edx.keys import CourseKey
13-
from rest_framework import authentication, generics, status, viewsets
13+
from rest_framework import generics, status, viewsets
1414
from rest_framework.exceptions import ParseError
1515
from rest_framework.permissions import IsAuthenticated
1616
from rest_framework.views import APIView

0 commit comments

Comments
 (0)