add more tests case

This commit is contained in:
Kay0u 2020-01-02 12:32:57 +08:00
parent ce5d7ddaf0
commit 9315cab495
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -38,14 +38,23 @@ testauth:
authenticate: all authenticate: all
authenticator: default authenticator: default
# only-api: only-api:
# api: GET /test-auth/only-api api: GET /test-auth/only-api
# configuration: configuration:
# authenticate: api authenticate:
# - api
only-cli:
api: GET /test-auth/only-cli
configuration:
authenticate:
- cli
other-profile: other-profile:
api: GET /test-auth/other-profile api: GET /test-auth/other-profile
configuration: configuration:
authenticate:
- all
authenticator: yoloswag authenticator: yoloswag
subcategories: subcategories:
@ -65,7 +74,8 @@ testauth:
post: post:
api: POST /test-auth/subcat/post api: POST /test-auth/subcat/post
configuration: configuration:
authenticate: all authenticate:
- all
authenticator: default authenticator: default