diff --git a/src/Components/CoreTest/Application/UseCases/Adaptivity/LoadExternalLearningElementUseCase/LoadExternalLearningElementUseCase.test.ts b/src/Components/CoreTest/Application/UseCases/Adaptivity/LoadExternalLearningElementUseCase/LoadExternalLearningElementUseCase.test.ts index 94427df2c..3c0e556f5 100644 --- a/src/Components/CoreTest/Application/UseCases/Adaptivity/LoadExternalLearningElementUseCase/LoadExternalLearningElementUseCase.test.ts +++ b/src/Components/CoreTest/Application/UseCases/Adaptivity/LoadExternalLearningElementUseCase/LoadExternalLearningElementUseCase.test.ts @@ -141,6 +141,7 @@ describe("LoadExternalLearningElementUseCase", () => { expect(worldPortMock.onLearningElementLoaded).toHaveBeenCalledWith({ id: 1, filePath: "path", + isScoreable: false, }); }); diff --git a/src/Components/CoreTest/Presentation/React/LearningSpaceDisplay/LearningElementModal/LearningElementModalPresenter.test.ts b/src/Components/CoreTest/Presentation/React/LearningSpaceDisplay/LearningElementModal/LearningElementModalPresenter.test.ts index abb7b5b91..1d05659f2 100644 --- a/src/Components/CoreTest/Presentation/React/LearningSpaceDisplay/LearningElementModal/LearningElementModalPresenter.test.ts +++ b/src/Components/CoreTest/Presentation/React/LearningSpaceDisplay/LearningElementModal/LearningElementModalPresenter.test.ts @@ -49,6 +49,7 @@ describe("LearningElementModalPresenter", () => { parentWorldID: 0, hasScored: false, model: LearningElementModelTypeEnums.TextElementModelTypes.Bookshelf1, + isScoreable: true, }; systemUnderTest.onLearningElementLoaded(elementTO); diff --git a/src/Components/CoreTest/Presentation/React/LearningSpaceDisplay/LearningElementsDropdown/LearningElementsDropdownController.test.ts b/src/Components/CoreTest/Presentation/React/LearningSpaceDisplay/LearningElementsDropdown/LearningElementsDropdownController.test.ts index c60b2ac93..a00c9677a 100644 --- a/src/Components/CoreTest/Presentation/React/LearningSpaceDisplay/LearningElementsDropdown/LearningElementsDropdownController.test.ts +++ b/src/Components/CoreTest/Presentation/React/LearningSpaceDisplay/LearningElementsDropdown/LearningElementsDropdownController.test.ts @@ -29,6 +29,9 @@ describe("LearningElementsDropdownController", () => { systemUnderTest.startLearningElement(1337); expect(useCaseMock.executeAsync).toHaveBeenCalledTimes(1); - expect(useCaseMock.executeAsync).toHaveBeenCalledWith(1337); + expect(useCaseMock.executeAsync).toHaveBeenCalledWith({ + elementID: 1337, + isScoreable: true, + }); }); });