Skip to content

Commit

Permalink
Reset:ProfilePage ViewModel
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushRaghuvanshi committed Nov 19, 2023
1 parent 9695c90 commit 8aa5af3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -109,7 +109,7 @@ void main() {

await viewModel.logout(MockBuildContext());
});
});


testWidgets("Test dominationButton function", (tester) async {
final mockContext = MockBuildContext();
Expand All @@ -136,7 +136,7 @@ void main() {
horizontal: SizeConfig.screenWidth! * 0.075,
),
);
});
}); });

// testWidgets("Test logout function", (tester) async {
// final mockContext = MockBuildContext();
Expand Down

0 comments on commit 8aa5af3

Please sign in to comment.