From c62844234bdecac3ad2facc7af011c704699e86d Mon Sep 17 00:00:00 2001 From: Kegsay Date: Mon, 20 Apr 2020 14:19:25 +0100 Subject: [PATCH] Add login sytests (#974) --- 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