test: fix ENABLE_CATALOG_MICROFRONTEND look up in tests

This commit is contained in:
Serhii Nanai
2025-09-29 14:47:22 +03:00
parent 02b87247a1
commit e2d50f5b4d
2 changed files with 2 additions and 2 deletions

View File

@@ -53,11 +53,11 @@ class TestCourseSharingLinks(ModuleStoreTestCase):
mock_settings = {
'FEATURES': {
'ENABLE_MKTG_SITE': enable_mktg_site,
'ENABLE_CATALOG_MICROFRONTEND': False,
},
'SOCIAL_SHARING_SETTINGS': {
'CUSTOM_COURSE_URLS': enable_social_sharing
},
'ENABLE_CATALOG_MICROFRONTEND': False
}
with mock.patch.multiple('django.conf.settings', **mock_settings):

View File

@@ -19,5 +19,5 @@ class TestBrandingToggles(TestCase):
"""
Test the use_catalog_mfe toggle.
"""
with override_settings(FEATURES={'ENABLE_CATALOG_MICROFRONTEND': enabled}):
with override_settings(ENABLE_CATALOG_MICROFRONTEND=enabled):
assert use_catalog_mfe() == enabled