REST Service for POPCORN - ILIAS
alex
19 hours ago 5dae0ca1a9c9074eab20a808647b97a643020d83
test/data.js
@@ -32,8 +32,23 @@
   "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,
}