summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTimo Kösters <timo@koesters.xyz>2020-10-18 20:33:12 +0200
committerTimo Kösters <timo@koesters.xyz>2020-10-18 21:51:28 +0200
commitf0a21b61655687bb039bac088d6215f73714f7d8 (patch)
tree3c51a8d1dfe4e5ef670736f43d5535fb18e76f54 /tests
parentfccd3fdb88163cabacb3103e287410b2e0491e8a (diff)
downloadconduit-f0a21b61655687bb039bac088d6215f73714f7d8.zip
fix: use device_id when registering
TIL body.device_id != (*body).device_id, which is pretty bad, so I renamed body.device_id to body.sender_device
Diffstat (limited to 'tests')
-rw-r--r--tests/sytest/sytest-whitelist2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sytest/sytest-whitelist b/tests/sytest/sytest-whitelist
index e1f4e5c..d3271dd 100644
--- a/tests/sytest/sytest-whitelist
+++ b/tests/sytest/sytest-whitelist
@@ -83,6 +83,7 @@ POST /register rejects registration of usernames with '|'
POST /register rejects registration of usernames with '}'
POST /register rejects registration of usernames with '£'
POST /register rejects registration of usernames with 'é'
+POST /register returns the same device_id as that in the request
POST /rooms/:room_id/ban can ban a user
POST /rooms/:room_id/invite can send an invite
POST /rooms/:room_id/join can join a room
@@ -116,6 +117,7 @@ Typing events appear in incremental sync
Typing events appear in initial sync
Uninvited users cannot join the room
User appears in user directory
+User directory correctly update on display name change
User in dir while user still shares private rooms
User in shared private room does appear in user directory
User is offline if they set_presence=offline in their sync