tests: add authentication unit tests

This commit is contained in:
Udhay-Adithya
2025-07-07 02:03:47 +05:30
parent 32855fd2f9
commit 8d4eedc21b
9 changed files with 1658 additions and 58 deletions

View File

@@ -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',