REST Service for POPCORN - ILIAS
alex
19 hours ago 527b9fc17ce37ea6d2f34ffcf475070aeb7d16c9
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,
}