tests: add auth fields widget tests(coverage 98.4%)

This commit is contained in:
Udhay-Adithya
2025-07-07 12:39:45 +05:30
parent 8d4eedc21b
commit a13d3d57d3
10 changed files with 1665 additions and 99 deletions

View File

@@ -92,7 +92,14 @@ class _ApiKeyAuthFieldsState extends State<ApiKeyAuthFields> {
name: _nameController.text.trim(),
location: _addKeyTo,
),
),
) ?? AuthModel(
type: APIAuthType.apiKey,
apikey: AuthApiKeyModel(
key: _keyController.text.trim(),
name: _nameController.text.trim(),
location: _addKeyTo,
),
)
);
}
}