REST Service for POPCORN - ILIAS
alex
2025-11-17 3fce3e400fd44d3b6f345a31413e0ad2b7724107
test/testKursLp.js
@@ -21,7 +21,7 @@
    describe("the function getKursUnterobjektLp", function () {
        it("should deliver the LP for the Kurs Unterobjekte", async function () {
            const res = await db.getKursUnterobjektLp(kursId)
            console.table(res)
            // console.table(res)
            expect(res).to.be.a("array")
            for(const item of res) {
                expect(item).to.have.property("obj_id").and.to.be.a("number")
@@ -35,6 +35,12 @@
        })
    })
    describe("the function getKursLp", function () {
        it("should return the unified LP of a Kurs", async function () {
            const res = await db.getKursLp(kursId)
            console.table(res)
        })
    })
})