diff --git a/integration_test/app_test.dart b/integration_test/app_test.dart index aa2495a..9757617 100644 --- a/integration_test/app_test.dart +++ b/integration_test/app_test.dart @@ -42,4 +42,4 @@ void main() { expect((releaseTextFinder2.evaluate().single.widget as Text).data, '1999-10-20'); }); }); -} +} \ No newline at end of file diff --git a/integration_test/driver.dart b/integration_test/driver.dart index b38629c..6854dea 100644 --- a/integration_test/driver.dart +++ b/integration_test/driver.dart @@ -1,3 +1,3 @@ import 'package:integration_test/integration_test_driver.dart'; -Future main() => integrationDriver(); +Future main() => integrationDriver(); \ No newline at end of file diff --git a/integration_test/main.dart b/integration_test/main.dart index eb410ec..4b3345d 100644 --- a/integration_test/main.dart +++ b/integration_test/main.dart @@ -17,4 +17,4 @@ void main() { httpClient: mockClient, child: MyApp(), )); -} +} \ No newline at end of file diff --git a/test/src/app_test.dart b/test/src/app_test.dart index d684a19..aaa8acc 100644 --- a/test/src/app_test.dart +++ b/test/src/app_test.dart @@ -1,7 +1,6 @@ import 'dart:convert'; import 'package:flutter_test/flutter_test.dart'; -import 'package:integration_test/integration_test.dart'; import 'package:http/http.dart'; import 'package:http/testing.dart'; import 'package:flutter_movie_deep_dive_test/src/providers/providers.dart'; @@ -11,7 +10,6 @@ import 'package:flutter_movie_deep_dive_test/src/app.dart'; import 'common.dart'; void main() { - testWidgets('Display App', (WidgetTester tester) async { await tester.pumpWidget(AppProvider( httpClient: MockClient((request) async { diff --git a/test/src/blocs/app_bloc_test.dart b/test/src/blocs/app_bloc_test.dart index f20483a..4cb623e 100644 --- a/test/src/blocs/app_bloc_test.dart +++ b/test/src/blocs/app_bloc_test.dart @@ -60,4 +60,4 @@ main() { expect: () => [empty, loading, AppLoaded(response: response)], ); }); -} +} \ No newline at end of file diff --git a/test/src/services/app_service_test.dart b/test/src/services/app_service_test.dart index d148d79..18adeb8 100644 --- a/test/src/services/app_service_test.dart +++ b/test/src/services/app_service_test.dart @@ -27,10 +27,10 @@ main() { final service = AppService(mockClient); expect( () async => await service.loadMovies(), - throwsA(predicate((e) => - e is LoadMoviesException && - e.message == 'LoadMovies - Request Error: 500')), + throwsA(predicate( + (e) => e is LoadMoviesException && e.message == 'LoadMovies - Request Error: 500', + )), ); }); }); -} \ No newline at end of file +} diff --git a/test/src/widgets/home_test.dart b/test/src/widgets/home_test.dart index f9e693d..e98fda9 100644 --- a/test/src/widgets/home_test.dart +++ b/test/src/widgets/home_test.dart @@ -104,4 +104,4 @@ void main() { expect(textFinder, findsOneWidget); }); }); -} +} \ No newline at end of file diff --git a/test/src/widgets/movie_card_test.dart b/test/src/widgets/movie_card_test.dart index 53aff79..fe174cf 100644 --- a/test/src/widgets/movie_card_test.dart +++ b/test/src/widgets/movie_card_test.dart @@ -41,4 +41,4 @@ void main() { expect(textFinder, findsOneWidget); }); }); -} +} \ No newline at end of file diff --git a/test/src/widgets/movies_list_test.dart b/test/src/widgets/movies_list_test.dart index e647fa0..ab3619d 100644 --- a/test/src/widgets/movies_list_test.dart +++ b/test/src/widgets/movies_list_test.dart @@ -36,4 +36,4 @@ void main() { expect(movieFinder, findsOneWidget); }); }); -} \ No newline at end of file +}