Skip to content

Commit

Permalink
Update src/test/javascript/spec/component/learning-paths/components/l…
Browse files Browse the repository at this point in the history
…earning-path-lecture-unit.component.spec.ts

Co-authored-by: Patrik Zander <[email protected]>
  • Loading branch information
JohannesWt and pzdr7 authored Sep 5, 2024
1 parent 5724e89 commit 26b0038
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit 26b0038

Please sign in to comment.