Skip to content

Commit

Permalink
fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Azad99-9 committed Nov 17, 2023
1 parent cb9795d commit b436257
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:hive/hive.dart';
import 'package:mockito/mockito.dart';
import 'package:provider/provider.dart';
import 'package:talawa/constants/constants.dart';
import 'package:talawa/constants/custom_theme.dart';
import 'package:talawa/models/language/language_model.dart';
import 'package:talawa/models/organization/org_info.dart';
import 'package:talawa/models/user/user_info.dart';
import 'package:talawa/router.dart' as router;
import 'package:talawa/services/graphql_config.dart';
import 'package:talawa/services/navigation_service.dart';
Expand Down
2 changes: 1 addition & 1 deletion test/widget_tests/widgets/post_widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ void main() {

// Simulate a reaction change on the MultiReactButton
await tester.tap(
multiReactButtonFinder); // Replace with your actual tap action
multiReactButtonFinder,); // Replace with your actual tap action
await tester.pump();

// Ensure that onReactionChanged callback was triggered
Expand Down

0 comments on commit b436257

Please sign in to comment.