From 2920ccfa508fe5e8c32905fe102758b65fb37574 Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Thu, 08 Oct 2026 16:42:29 +0000
Subject: [PATCH] GS-2555
---
test/data.js | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/test/data.js b/test/data.js
index a1989ed..a40941e 100644
--- a/test/data.js
+++ b/test/data.js
@@ -23,7 +23,25 @@
},
}
+const kurs = {
+ "title": "Globus-ILIAS-Rest Testkurs",
+ "description": "ein Kurs zum Testen",
+ "online": false,
+ "public": false,
+ "maxTn": 20,
+ "registerNo": true
+}
+
+// real existing (usr_id, course obj_id) pair used by setStatus tests
+const setStatus = {
+ ref_id: 88,
+ obj_id: 9689, // setStatus() expects the course obj_id, not the ref_id
+ usr_id: 24038,
+}
+
module.exports = {
user,
+ kurs,
+ setStatus,
}
--
Gitblit v1.8.0