Removing unused fields on ProgramApiConfig model
ECOM-7196 Updating model to only include the non-deprecated fields. This work is a follow on to ECOM-7195 and SHOULD NOT be merged until that PR is merged.
This commit is contained in:
@@ -6,16 +6,9 @@ from common.test.acceptance.fixtures.config import ConfigModelFixture
|
||||
|
||||
class ProgramsConfigMixin(object):
|
||||
"""Mixin providing a method used to configure the programs feature."""
|
||||
def set_programs_api_configuration(self, is_enabled=False, api_version=1):
|
||||
def set_programs_api_configuration(self, is_enabled=False):
|
||||
"""Dynamically adjusts the Programs config model during tests."""
|
||||
# Update these paramters once fields are removed from model
|
||||
ConfigModelFixture('/config/programs', {
|
||||
'enabled': is_enabled,
|
||||
'api_version_number': api_version,
|
||||
'cache_ttl': 0,
|
||||
'marketing_path': '/foo',
|
||||
'enable_student_dashboard': is_enabled,
|
||||
'enable_certification': is_enabled,
|
||||
'program_listing_enabled': is_enabled,
|
||||
'program_details_enabled': is_enabled,
|
||||
}).install()
|
||||
|
||||
Reference in New Issue
Block a user