From ef84ae50b88aac0bd93b1306a51d600a9540ee98 Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Mon, 17 Nov 2025 16:45:52 +0000
Subject: [PATCH] GS-2373
---
test/testKursLp.js | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/test/testKursLp.js b/test/testKursLp.js
index 7bcf6a2..4f37ab0 100644
--- a/test/testKursLp.js
+++ b/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)
+ })
+ })
})
--
Gitblit v1.8.0