test(backend): Testen voor DatabaseLearningObjectProvider.getLearningObjectHTML toegevoegd.

Hierbij optredende problemen ook opgelost.
This commit is contained in:
Gerald Schmittinger 2025-03-09 19:29:20 +01:00
parent a3b995393b
commit 91e3b5ad91
15 changed files with 103 additions and 60 deletions

View file

@ -3,5 +3,6 @@ import {Attachment} from "../../../src/entities/content/attachment.entity";
type LearningObjectExample = {
createLearningObject: () => LearningObject,
createAttachment: {[key: string]: (owner: LearningObject) => Attachment}
createAttachment: {[key: string]: (owner: LearningObject) => Attachment},
getHTMLRendering: () => string
};