test: update oauth1 and oauth2 tests for EnvAuthField

This commit is contained in:
Udhay-Adithya
2025-08-07 12:46:56 +05:30
parent d33f93f784
commit 1dece55482
4 changed files with 518 additions and 307 deletions

View File

@@ -1257,10 +1257,8 @@ void main() {
group('Pre-request Script - Request Modification Tests', () {
test('should modify headers correctly', () async {
List<EnvironmentVariableModel>? capturedValues;
void mockUpdateEnv(
EnvironmentModel envModel, List<EnvironmentVariableModel> values) {
capturedValues = values;
}
final result = await handlePreRequestScript(