feat: hide discussion tab when disabled (#32195)

This commit is contained in:
Muhammad Adeel Tajamul
2023-05-16 05:17:06 +05:00
committed by GitHub
parent ab83771295
commit d8db64cf2a
5 changed files with 31 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ class TestCourseUpdatesPage(BaseCourseUpdatesTestCase):
# Fetch the view and verify that the query counts haven't changed
# TODO: decrease query count as part of REVO-28
with self.assertNumQueries(53, table_ignorelist=QUERY_COUNT_TABLE_IGNORELIST):
with self.assertNumQueries(54, table_ignorelist=QUERY_COUNT_TABLE_IGNORELIST):
with check_mongo_calls(3):
url = course_updates_url(self.course)
self.client.get(url)