@@ -137,7 +137,8 @@ const mockCourseConfiguration1: CourseConfiguration = {
137137 sourceChapter : Chapter . SOURCE_1 ,
138138 sourceVariant : Variant . DEFAULT ,
139139 moduleHelpText : 'Help text' ,
140- assetsPrefix : ''
140+ assetsPrefix : '' ,
141+ isOfficialCourse : false
141142} ;
142143
143144const mockCourseRegistration2 : CourseRegistration = {
@@ -169,7 +170,8 @@ const mockCourseConfiguration2: CourseConfiguration = {
169170 sourceChapter : Chapter . SOURCE_4 ,
170171 sourceVariant : Variant . DEFAULT ,
171172 moduleHelpText : 'Help text' ,
172- assetsPrefix : ''
173+ assetsPrefix : '' ,
174+ isOfficialCourse : false
173175} ;
174176
175177const mockAssessmentConfigurations : AssessmentConfiguration [ ] = [
@@ -936,7 +938,8 @@ describe('Test UPDATE_COURSE_CONFIG action', () => {
936938 sourceChapter : Chapter . SOURCE_4 ,
937939 sourceVariant : Variant . DEFAULT ,
938940 moduleHelpText : 'Help' ,
939- assetsPrefix : ''
941+ assetsPrefix : '' ,
942+ isOfficialCourse : false
940943 } ;
941944
942945 test ( 'when course config is changed' , ( ) => {
@@ -1034,7 +1037,8 @@ describe('Test CREATE_COURSE action', () => {
10341037 enableExamMode : false ,
10351038 sourceChapter : Chapter . SOURCE_1 ,
10361039 sourceVariant : Variant . DEFAULT ,
1037- moduleHelpText : 'Help Text'
1040+ moduleHelpText : 'Help Text' ,
1041+ isOfficialCourse : false
10381042 } ;
10391043 const user = mockUser ;
10401044 const courseConfiguration = mockCourseConfiguration1 ;
0 commit comments