Assuring that courses without updates cannot see the updates link from the home page and that the update message does not throw an error upon loading from a direct URL without any updates. Added test to assure this behavior and fixed up welcome message tests.
This commit is contained in:
@@ -12,7 +12,7 @@ class CourseBookmarksTool(CourseTool):
|
||||
The course bookmarks tool.
|
||||
"""
|
||||
@classmethod
|
||||
def is_enabled(cls, course_key):
|
||||
def is_enabled(cls, request, course_key):
|
||||
"""
|
||||
Always show the bookmarks tool.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user