fix: test cases fixed
This commit is contained in:
@@ -31,7 +31,6 @@ from rest_framework.response import Response
|
||||
from common.djangoapps.student.roles import (
|
||||
CourseInstructorRole,
|
||||
CourseStaffRole,
|
||||
GlobalStaff,
|
||||
)
|
||||
|
||||
from lms.djangoapps.course_blocks.api import get_course_blocks
|
||||
|
||||
@@ -201,6 +201,8 @@ class GetCourseTest(ForumsEnableMixin, UrlResetMixin, SharedModuleStoreTestCase)
|
||||
'group_at_subsection': False,
|
||||
'provider': 'legacy',
|
||||
'has_moderation_privileges': False,
|
||||
"is_course_staff": False,
|
||||
"is_course_admin": False,
|
||||
'is_group_ta': False,
|
||||
'is_user_admin': False,
|
||||
'user_roles': {'Student'},
|
||||
|
||||
@@ -521,6 +521,8 @@ class CourseViewTest(DiscussionAPIViewTestMixin, ModuleStoreTestCase):
|
||||
"allow_anonymous": True,
|
||||
"allow_anonymous_to_peers": False,
|
||||
"has_moderation_privileges": False,
|
||||
'is_course_admin': False,
|
||||
'is_course_staff': False,
|
||||
"is_group_ta": False,
|
||||
'is_user_admin': False,
|
||||
"user_roles": ["Student"],
|
||||
|
||||
Reference in New Issue
Block a user