diff --git a/common/djangoapps/util/tests/test_course.py b/common/djangoapps/util/tests/test_course.py index a4fd4de595..c527ffe886 100644 --- a/common/djangoapps/util/tests/test_course.py +++ b/common/djangoapps/util/tests/test_course.py @@ -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): diff --git a/lms/djangoapps/branding/test_toggles.py b/lms/djangoapps/branding/test_toggles.py index 92bde93a71..a6797b8090 100644 --- a/lms/djangoapps/branding/test_toggles.py +++ b/lms/djangoapps/branding/test_toggles.py @@ -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