mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 10:49:49 +08:00
tests: add authentication unit tests
This commit is contained in:
@@ -384,6 +384,14 @@ const httpRequestModelGet4Json = <String, dynamic>{
|
||||
{'name': 'add_space', 'value': 'true'},
|
||||
{'name': 'trailing_zeros', 'value': 'true'}
|
||||
],
|
||||
'authModel': {
|
||||
'type': 'none',
|
||||
'apikey': null,
|
||||
'bearer': null,
|
||||
'basic': null,
|
||||
'jwt': null,
|
||||
'digest': null
|
||||
},
|
||||
"isHeaderEnabledList": null,
|
||||
"isParamEnabledList": null,
|
||||
"bodyContentType": "json",
|
||||
@@ -403,6 +411,14 @@ const httpRequestModelPost10Json = <String, dynamic>{
|
||||
{'name': 'size', 'value': '2'},
|
||||
{'name': 'len', 'value': '3'}
|
||||
],
|
||||
'authModel': {
|
||||
'type': 'none',
|
||||
'apikey': null,
|
||||
'bearer': null,
|
||||
'basic': null,
|
||||
'jwt': null,
|
||||
'digest': null
|
||||
},
|
||||
'isHeaderEnabledList': [false, true],
|
||||
'isParamEnabledList': null,
|
||||
"bodyContentType": 'json',
|
||||
|
||||
Reference in New Issue
Block a user