test(ues): add real handler tests for /ues endpoints #114

Open
opened 2026-04-22 16:01:02 +00:00 by djalim · 0 comments
Collaborator

Endpoints to test

  • GET /ues (#32)
  • POST /ues (#33)
  • GET /ues/{idUE} (#34)
  • PUT /ues/{idUE} (#35)
  • DELETE /ues/{idUE} (#36)

Cases to cover

GET /ues — 200 list, 403 non-employee
POST /ues — 201 created, 400 missing fields, 403 non-employee
GET /ues/{idUE} — 200 found, 404 not found, 403 non-employee
PUT /ues/{idUE} — 200 updated, 404 not found, 403 non-employee
DELETE /ues/{idUE} — 204 deleted, 404 not found, 403 non-employee

## Endpoints to test - GET /ues (#32) - POST /ues (#33) - GET /ues/{idUE} (#34) - PUT /ues/{idUE} (#35) - DELETE /ues/{idUE} (#36) ## Cases to cover **GET /ues** — 200 list, 403 non-employee **POST /ues** — 201 created, 400 missing fields, 403 non-employee **GET /ues/{idUE}** — 200 found, 404 not found, 403 non-employee **PUT /ues/{idUE}** — 200 updated, 404 not found, 403 non-employee **DELETE /ues/{idUE}** — 204 deleted, 404 not found, 403 non-employee
djalim added this to the Module Managment project 2026-04-22 16:01:44 +00:00
djalim changed title from test(permissions): add real handler tests for GET /permissions to test(ues): add real handler tests for /ues endpoints 2026-04-22 23:07:06 +00:00
djalim moved this to ⚙️ in progress in Module Managment on 2026-04-26 17:40:27 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/PolyMPR#114