From 26b0038ac846838ea51206f4654580795d128848 Mon Sep 17 00:00:00 2001 From: Johannes Wiest Date: Thu, 5 Sep 2024 14:51:00 +0200 Subject: [PATCH] Update src/test/javascript/spec/component/learning-paths/components/learning-path-lecture-unit.component.spec.ts Co-authored-by: Patrik Zander <38403547+pzdr7@users.noreply.github.com> --- .../components/learning-path-lecture-unit.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/javascript/spec/component/learning-paths/components/learning-path-lecture-unit.component.spec.ts b/src/test/javascript/spec/component/learning-paths/components/learning-path-lecture-unit.component.spec.ts index 7942e37eedf8..03905c6938a7 100644 --- a/src/test/javascript/spec/component/learning-paths/components/learning-path-lecture-unit.component.spec.ts +++ b/src/test/javascript/spec/component/learning-paths/components/learning-path-lecture-unit.component.spec.ts @@ -125,7 +125,7 @@ describe('LearningPathLectureUnitComponent', () => { component.setLearningObjectCompletion({ completed: true, lectureUnit: lectureUnit }); - expect(completeLectureUnitSpy).toHaveBeenCalledWith(lectureUnit.lecture, { + expect(completeLectureUnitSpy).toHaveBeenCalledExactlyOnceWith(lectureUnit.lecture, { completed: true, lectureUnit: lectureUnit, });