Skip to content

Commit f363481

Browse files
fix: update mock response for test cases
1 parent 33fa7c8 commit f363481

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/optimizer-page/mocks/mockApiResponse.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const mockApiResponse = {
128128
],
129129
},
130130
],
131-
course_updates: [
131+
courseUpdates: [
132132
{
133133
id: 'update-1',
134134
displayName: 'Course Update 1',
@@ -139,7 +139,7 @@ export const mockApiResponse = {
139139
previousRunLinks: [],
140140
},
141141
],
142-
custom_pages: [
142+
customPages: [
143143
{
144144
id: 'custom-1',
145145
displayName: 'About Page',
@@ -220,7 +220,7 @@ export const mockApiResponseWithPreviousRunLinks = {
220220
],
221221
},
222222
],
223-
course_updates: [
223+
courseUpdates: [
224224
{
225225
id: 'update-1',
226226
displayName: 'Course Update with Previous Run Link',
@@ -231,7 +231,7 @@ export const mockApiResponseWithPreviousRunLinks = {
231231
previousRunLinks: ['https://example.com/old-course-run/update'],
232232
},
233233
],
234-
custom_pages: [
234+
customPages: [
235235
{
236236
id: 'custom-2',
237237
displayName: 'About Page with Previous Run',
@@ -250,7 +250,7 @@ export const mockApiResponseEmpty = {
250250
LinkCheckCreatedAt: '2024-12-14T00:26:50.838350Z',
251251
LinkCheckOutput: {
252252
sections: [],
253-
course_updates: [],
254-
custom_pages: [],
253+
courseUpdates: [],
254+
customPages: [],
255255
},
256256
};

0 commit comments

Comments
 (0)