mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Flutter 3.29 beta (#2571)
This commit is contained in:
@@ -23,11 +23,9 @@ void main() {
|
||||
}
|
||||
|
||||
Future<void> _signIn(WidgetTester tester, String email, String password) async {
|
||||
await tester.pumpWidget(MaterialApp(
|
||||
home: SignInHttpDemo(
|
||||
httpClient: mockClient,
|
||||
),
|
||||
));
|
||||
await tester.pumpWidget(
|
||||
MaterialApp(home: SignInHttpDemo(httpClient: mockClient)),
|
||||
);
|
||||
|
||||
var textFormField = find.byType(TextFormField);
|
||||
expect(textFormField, findsNWidgets(2));
|
||||
|
||||
Reference in New Issue
Block a user