Revert "Revert "This stage does the following: (#22692)""
This reverts commit84de6bc6dewhich reverts commitcebeab4348which implements the first stage of the `values` column rename in SiteConfiguration. However, I included a small change: This time, we set a default value on the new `site_values` column so that the ORM will happily deserialize the JSONField without throwing a JSONDecodeError.
This commit is contained in:
@@ -146,6 +146,7 @@ class CertChangedReceiverTest(TestCase):
|
||||
mock_is_learner_issuance_enabled.return_value = True
|
||||
|
||||
site_config = SiteConfigurationFactory.create(
|
||||
site_values={'course_org_filter': ['edX']},
|
||||
values={'course_org_filter': ['edX']},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user