test(auth): 更新登录失败提示断言
This commit is contained in:
1 parent
391b01e9d0
commit
2d65cd3006
1 file changed
+1
-1
@@ -112,7 +112,7 @@ void main() {
|
|||||||
|
|
||||||
final toast = find.byKey(const Key('centered-toast'));
|
final toast = find.byKey(const Key('centered-toast'));
|
||||||
expect(toast, findsOneWidget);
|
expect(toast, findsOneWidget);
|
||||||
expect(find.text('Invalid email or password'), findsOneWidget);
|
expect(find.text('Sign in to continue'), findsOneWidget);
|
||||||
expect(find.byType(AlertDialog), findsNothing);
|
expect(find.byType(AlertDialog), findsNothing);
|
||||||
expect(api.loginCalls, 1);
|
expect(api.loginCalls, 1);
|
||||||
expect(
|
expect(
|
||||||
|
|||||||
Reference in new issue
Block a user