File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ void main() {
3131 late P2PService p2pService;
3232 late RouteController routeController;
3333
34- Future <Widget > _buildTestApp () async {
34+ Future <Widget > buildTestApp () async {
3535 FlutterSecureStorage .setMockInitialValues ({});
3636 db = AppDatabase .memory ();
3737 final authService = AuthService ();
@@ -99,7 +99,7 @@ void main() {
9999 }
100100
101101 testWidgets ('MapScreen constructs and renders without error' , (WidgetTester tester) async {
102- await tester.pumpWidget (await _buildTestApp ());
102+ await tester.pumpWidget (await buildTestApp ());
103103 await tester.pump (const Duration (milliseconds: 100 ));
104104
105105 expect (find.text ('OpenRescue Map' ), findsOneWidget);
@@ -117,7 +117,7 @@ void main() {
117117 });
118118
119119 testWidgets ('MapScreen shows loading state initially' , (WidgetTester tester) async {
120- await tester.pumpWidget (await _buildTestApp ());
120+ await tester.pumpWidget (await buildTestApp ());
121121
122122 // Initially should show loading indicator
123123 expect (find.byType (Scaffold ), findsOneWidget);
You can’t perform that action at this time.
0 commit comments