Add login sytests

This commit is contained in:
Kegan Dougal 2020-04-20 11:56:09 +01:00
parent 9f5ece8045
commit d608ab83e2

View file

@ -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 '\n'
POST /register rejects registration of usernames with ''' POST /register rejects registration of usernames with '''
GET /login yields a set of flows 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 /events initially
GET /initialSync initially GET /initialSync initially
Version responds 200 OK with valid structure Version responds 200 OK with valid structure