feat: updated courseblocks factory to reflect is_preview field
This commit is contained in:
committed by
Nathan Sprenkle
parent
1832786a5d
commit
47d491099f
@@ -528,7 +528,7 @@ exports[`Data layer integration tests Test fetchOutlineTab Should fetch, normali
|
||||
"hideFromTOC": undefined,
|
||||
"icon": null,
|
||||
"id": "block-v1:edX+DemoX+Demo_Course+type@sequential+block@bcdabcdabcdabcdabcdabcdabcdabcd1",
|
||||
"isPreview": undefined,
|
||||
"isPreview": false,
|
||||
"navigationDisabled": undefined,
|
||||
"sectionId": "block-v1:edX+DemoX+Demo_Course+type@chapter+block@bcdabcdabcdabcdabcdabcdabcdabcd2",
|
||||
"showLink": true,
|
||||
|
||||
@@ -116,6 +116,7 @@ export function buildMinimalCourseBlocks(courseId, title, options = {}) {
|
||||
effort_activities: 2,
|
||||
effort_time: 15,
|
||||
type: 'sequential',
|
||||
is_preview: false,
|
||||
},
|
||||
{ courseId },
|
||||
)];
|
||||
|
||||
Reference in New Issue
Block a user