From 8aa5af39a60f36937afcc3efc6d338594316a69c Mon Sep 17 00:00:00 2001 From: Ayush Raghuwanshi Date: Sun, 19 Nov 2023 19:47:05 +0530 Subject: [PATCH] Reset:ProfilePage ViewModel --- .../profile_page_view_model_tests.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/view_model_tests/after_auth_view_model_tests/profile_view_model_tests/profile_page_view_model_tests.dart b/test/view_model_tests/after_auth_view_model_tests/profile_view_model_tests/profile_page_view_model_tests.dart index aed035045..b1bae6cb6 100644 --- a/test/view_model_tests/after_auth_view_model_tests/profile_view_model_tests/profile_page_view_model_tests.dart +++ b/test/view_model_tests/after_auth_view_model_tests/profile_view_model_tests/profile_page_view_model_tests.dart @@ -94,7 +94,7 @@ void main() { expect((iconButton as IconButton).icon, testIcon); }); - testWidgets('Test logout function', (WidgetTester tester) async { + test('Test logout function', () async { final mockDatabaseFunctions = databaseFunctions; when(mockDatabaseFunctions.gqlAuthMutation(queries.logout())).thenAnswer( @@ -109,7 +109,7 @@ void main() { await viewModel.logout(MockBuildContext()); }); - }); + testWidgets("Test dominationButton function", (tester) async { final mockContext = MockBuildContext(); @@ -136,7 +136,7 @@ void main() { horizontal: SizeConfig.screenWidth! * 0.075, ), ); - }); + }); }); // testWidgets("Test logout function", (tester) async { // final mockContext = MockBuildContext();