mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
add more tests case
This commit is contained in:
parent
ce5d7ddaf0
commit
9315cab495
1 changed files with 16 additions and 6 deletions
|
@ -38,14 +38,23 @@ testauth:
|
|||
authenticate: all
|
||||
authenticator: default
|
||||
|
||||
# only-api:
|
||||
# api: GET /test-auth/only-api
|
||||
# configuration:
|
||||
# authenticate: api
|
||||
#
|
||||
only-api:
|
||||
api: GET /test-auth/only-api
|
||||
configuration:
|
||||
authenticate:
|
||||
- api
|
||||
|
||||
only-cli:
|
||||
api: GET /test-auth/only-cli
|
||||
configuration:
|
||||
authenticate:
|
||||
- cli
|
||||
|
||||
other-profile:
|
||||
api: GET /test-auth/other-profile
|
||||
configuration:
|
||||
authenticate:
|
||||
- all
|
||||
authenticator: yoloswag
|
||||
|
||||
subcategories:
|
||||
|
@ -65,7 +74,8 @@ testauth:
|
|||
post:
|
||||
api: POST /test-auth/subcat/post
|
||||
configuration:
|
||||
authenticate: all
|
||||
authenticate:
|
||||
- all
|
||||
authenticator: default
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue