| | |
| | | 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") |
| | |
| | | }) |
| | | }) |
| | | |
| | | 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) |
| | | }) |
| | | }) |
| | | |
| | | |
| | | }) |