mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 11:27:50 +08:00
test: update oauth1 and oauth2 tests for EnvAuthField
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user