test(backend): Testen voor DatabaseLearningObjectProvider.getLearningObjectHTML toegevoegd.
Hierbij optredende problemen ook opgelost.
This commit is contained in:
parent
a3b995393b
commit
91e3b5ad91
15 changed files with 103 additions and 60 deletions
|
@ -45,7 +45,7 @@ const example: LearningObjectExample = {
|
|||
|
||||
learningObject.returnValue = returnValue;
|
||||
learningObject.available = true;
|
||||
learningObject.content = loadTestAsset(`${ASSETS_PREFIX}/dwengo.png`);
|
||||
learningObject.content = loadTestAsset(`${ASSETS_PREFIX}/content.md`);
|
||||
|
||||
return learningObject
|
||||
},
|
||||
|
@ -66,6 +66,7 @@ const example: LearningObjectExample = {
|
|||
att.content = loadTestAsset(`${ASSETS_PREFIX}/Knop.png`)
|
||||
return att;
|
||||
}
|
||||
}
|
||||
},
|
||||
getHTMLRendering: () => loadTestAsset(`${ASSETS_PREFIX}/rendering.html`).toString()
|
||||
}
|
||||
export default example;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue