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

This commit is contained in:
Gerald Schmittinger 2025-03-09 15:57:55 +01:00
parent fb2d293b57
commit a3b995393b
7 changed files with 102 additions and 11 deletions

View file

@ -4,7 +4,7 @@ import {getLearningPathRepository} from "../../../src/data/repositories";
import {LearningPathRepository} from "../../../src/data/content/learning-path-repository";
import example from "../../test-assets/learning-paths/pn-werking-example";
import {LearningPath} from "../../../src/entities/content/learning-path.entity";
import {expectToBeCorrectEntity} from "../../test-utils/expect-to-be-correct-entity";
import {expectToBeCorrectEntity} from "../../test-utils/expectations";
import {Language} from "../../../src/entities/content/language";
function expectToHaveFoundPrecisely(expected: LearningPath, result: LearningPath[]): void {