mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 18:57:05 +08:00
tests: add auth fields widget tests(coverage 98.4%)
This commit is contained in:
@@ -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(),
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user