From 6138ffe99d016cc311f250bc1555b5403b8b1216 Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Thu, 08 Oct 2026 17:18:04 +0000
Subject: [PATCH] GS-2555
---
test/data.js | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/test/data.js b/test/data.js
index a1989ed..69cc09f 100644
--- a/test/data.js
+++ b/test/data.js
@@ -23,7 +23,32 @@
},
}
+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,
+}
+
+// real existing small course used by the anmelden/abmelden tests
+const anmelden = {
+ ref_id: 595,
+ obj_id: 36428, // anmelden()/abmelden() expect the course obj_id, not the ref_id
+}
+
module.exports = {
user,
+ kurs,
+ setStatus,
+ anmelden,
}
--
Gitblit v1.8.0