Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
viadanna committed Sep 10, 2024
1 parent 9c09768 commit 831bec7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openedx/core/djangoapps/discussions/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,10 @@ def test_enabled_configuration(self, payload):
self._post(payload)

data = self.get()
assert data['enabled'] and not self.course.is_hidden
for tab in self.course.tabs:
if tab.tab_id == 'discussion':
assert data['enabled'] and not self.course.is_hidden
break

def test_change_plugin_configuration(self):
"""
Expand Down

0 comments on commit 831bec7

Please sign in to comment.