From 4dee709a0eedd7065b252623b22f7291fb8b4704 Mon Sep 17 00:00:00 2001 From: Paulo Viadanna Date: Tue, 10 Sep 2024 18:50:04 -0300 Subject: [PATCH] fix: test --- openedx/core/djangoapps/discussions/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/discussions/tests/test_views.py b/openedx/core/djangoapps/discussions/tests/test_views.py index 1429f205dd6..91789711b2f 100644 --- a/openedx/core/djangoapps/discussions/tests/test_views.py +++ b/openedx/core/djangoapps/discussions/tests/test_views.py @@ -400,7 +400,7 @@ def test_enabled_configuration(self, payload): data = self.get() for tab in self.course.tabs: if tab.tab_id == 'discussion': - assert data['enabled'] and not self.course.is_hidden + assert data['enabled'] and not tab.is_hidden break def test_change_plugin_configuration(self):