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

@@ -61,7 +61,13 @@ class BasicAuthFields extends StatelessWidget {
username: usernameController.text.trim(),
password: passwordController.text.trim(),
),
),
) ?? AuthModel(
type: APIAuthType.basic,
basic: AuthBasicAuthModel(
username: usernameController.text.trim(),
password: passwordController.text.trim(),
),
)
);
}
}