From da054ba9f4bf7f9aca4482b14af4ea7114c1b45f Mon Sep 17 00:00:00 2001 From: Diana Olarte Date: Tue, 19 Nov 2024 09:31:00 +1100 Subject: [PATCH] test: fix contentContainer test --- src/library-authoring/add-content/AddContentContainer.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library-authoring/add-content/AddContentContainer.test.tsx b/src/library-authoring/add-content/AddContentContainer.test.tsx index 4798d271ad..9bf9a5368e 100644 --- a/src/library-authoring/add-content/AddContentContainer.test.tsx +++ b/src/library-authoring/add-content/AddContentContainer.test.tsx @@ -114,7 +114,7 @@ describe('', () => { collectionId, ); // Mocks for ComponentEditorModal to work in tests. - jest.spyOn(editorCmsApi, 'fetchImages').mockImplementation(async () => ( // eslint-disable-next-line + jest.spyOn(editorCmsApi, 'fetchCourseImages').mockImplementation(async () => ( // eslint-disable-next-line { data: { assets: [], start: 0, end: 0, page: 0, pageSize: 50, totalCount: 0 } } )); jest.spyOn(editorCmsApi, 'fetchByUnitId').mockImplementation(async () => ({