feat: add support for enabling/disabling the wiki app (#28889)
Currently the wiki app can't be enabled or configured. This change allows enabling/disabling the wiki app which effectively hides/shows the wiki tab.
This commit is contained in:
@@ -184,8 +184,8 @@ class TabsAPITests(CourseTestCase):
|
||||
"""
|
||||
Test that toggling the visibility via the API works.
|
||||
"""
|
||||
self.check_toggle_tab_visibility("wiki", True)
|
||||
self.check_toggle_tab_visibility("wiki", False)
|
||||
self.check_toggle_tab_visibility("wiki", True)
|
||||
|
||||
def test_toggle_tab_visibility_fail(self):
|
||||
"""
|
||||
|
||||
@@ -159,8 +159,8 @@ class TabsPageTests(CourseTestCase):
|
||||
|
||||
def test_toggle_tab_visibility(self):
|
||||
"""Test toggling of tab visibility"""
|
||||
self.check_toggle_tab_visiblity('wiki', True)
|
||||
self.check_toggle_tab_visiblity('wiki', False)
|
||||
self.check_toggle_tab_visiblity('wiki', True)
|
||||
|
||||
def test_toggle_invalid_tab_visibility(self):
|
||||
"""Test toggling visibility of an invalid tab"""
|
||||
|
||||
Reference in New Issue
Block a user