Update message API endpoint cleanup
Part of #2352 (closed)
The review is best done in commits because the first commit only moves the test cases into separate files and doesn't change any functionality. That greatly reduces the complexity of the review.
Testing strategy
- Editing message is possible in UI
- Copy the request from the previous point and validate that
- using another user's access token will result in
403
- changing the
:roomId
parameter from/v1/rooms/:roomId/chatMessages/:chatMessageId
to a different valid room id results in 404
- using another user's access token will result in
Edited by Tomas Vik