From d608ab83e27f6a9c50f6fb040bfcd723d4bbb6b0 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 20 Apr 2020 11:56:09 +0100 Subject: [PATCH] Add login sytests --- sytest-whitelist | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sytest-whitelist b/sytest-whitelist index 3277cc59d..d47bf1f60 100644 --- a/sytest-whitelist +++ b/sytest-whitelist @@ -17,6 +17,11 @@ POST /register rejects registration of usernames with 'é' POST /register rejects registration of usernames with '\n' POST /register rejects registration of usernames with ''' GET /login yields a set of flows +POST /login can log in as a user +POST /login returns the same device_id as that in the request +POST /login can log in as a user with just the local part of the id +POST /login as non-existing user is rejected +POST /login wrong password is rejected GET /events initially GET /initialSync initially Version responds 200 OK with valid structure