Update test cases
This commit is contained in:
parent
764829b01a
commit
1d00088d89
2 changed files with 9 additions and 5 deletions
|
@ -6,3 +6,12 @@ POST http://localhost:3000/login HTTP/1.1
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Authorization: Basic jdoe1:password
|
Authorization: Basic jdoe1:password
|
||||||
|
|
||||||
|
### Failure redirect
|
||||||
|
POST http://localhost:3000/login HTTP/1.1
|
||||||
|
Content-Type: application/json
|
||||||
|
Authorization: Basic password:username
|
||||||
|
|
||||||
|
### Force basic
|
||||||
|
POST http://localhost:3000/hello HTTP/1.1
|
||||||
|
Content-Type: application/json
|
||||||
|
Accept:application/json
|
|
@ -1,8 +1,3 @@
|
||||||
### Load landing page
|
### Load landing page
|
||||||
GET http://localhost:3000/ HTTP/1.1
|
GET http://localhost:3000/ HTTP/1.1
|
||||||
|
|
||||||
### Failure redirect
|
|
||||||
POST http://localhost:3000/login HTTP/1.1
|
|
||||||
Content-Type: application/json
|
|
||||||
Authorization: Basic password:username
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue