diff --git a/src/components/EditCoursePage/AdditionalMetadataFields.jsx b/src/components/EditCoursePage/AdditionalMetadataFields.jsx index 37b736ffd..c07e4f42d 100644 --- a/src/components/EditCoursePage/AdditionalMetadataFields.jsx +++ b/src/components/EditCoursePage/AdditionalMetadataFields.jsx @@ -44,6 +44,13 @@ function AdditionalMetadataFields(props) { disabled={disabled} required /> + + disabled={disabled} + required={false} + /> { }], start_date: '2019-05-10T00:00:00Z', registration_deadline: '2019-05-10T00:00:00Z', + variant_id: '00000000-0000-0000-0000-000000000000', }, course_runs: [ { @@ -355,6 +356,7 @@ describe('EditCoursePage', () => { facts_2_blurb: 'facts_2_blurb', start_date: '2019-05-10T00:00:00Z', registration_deadline: '2019-05-10T00:00:00Z', + variant_id: '00000000-0000-0000-0000-000000000000', }, course_runs: [unpublishedCourseRun, publishedCourseRun], faq: '

Help?

', @@ -917,6 +919,7 @@ describe('EditCoursePage', () => { }], start_date: '2019-05-10T00:00:00Z', registration_deadline: '2019-05-10T00:00:00Z', + variant_id: '00000000-0000-0000-0000-000000000000', }, draft: false, collaborators: undefined, diff --git a/src/components/EditCoursePage/__snapshots__/AdditionalMetadataFields.test.jsx.snap b/src/components/EditCoursePage/__snapshots__/AdditionalMetadataFields.test.jsx.snap index 0e28e6a8d..5f2e7de4e 100644 --- a/src/components/EditCoursePage/__snapshots__/AdditionalMetadataFields.test.jsx.snap +++ b/src/components/EditCoursePage/__snapshots__/AdditionalMetadataFields.test.jsx.snap @@ -79,6 +79,22 @@ exports[`AdditionalMetadata Fields Display all fields 1`] = ` name="additional_metadata.organic_url" required={true} /> + + } + name="additional_metadata.variant_id" + required={false} + />