From e2a07bbfa513eb32931ece7b9d42c664f96d1320 Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Mon, 4 Jan 2021 20:20:19 +0530 Subject: [PATCH] fix tests Signed-off-by: Sahil Kumar --- test/src/message_reaction_modal_test.dart | 2 +- test/src/reaction_bubble_test.dart | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/src/message_reaction_modal_test.dart b/test/src/message_reaction_modal_test.dart index d1c2a49c..c023b20d 100644 --- a/test/src/message_reaction_modal_test.dart +++ b/test/src/message_reaction_modal_test.dart @@ -74,7 +74,7 @@ void main() { ), latestReactions: [ Reaction( - type: 'thumbs_up', + type: 'like', user: User(id: testUserId), ), Reaction( diff --git a/test/src/reaction_bubble_test.dart b/test/src/reaction_bubble_test.dart index 6518dc94..c0bc8cd1 100644 --- a/test/src/reaction_bubble_test.dart +++ b/test/src/reaction_bubble_test.dart @@ -31,7 +31,7 @@ void main() { ); testWidgets( - 'it should show a thumb up', + 'it should show a like', (WidgetTester tester) async { final client = MockClient(); final clientState = MockClientState(); @@ -50,7 +50,7 @@ void main() { child: ReactionBubble( reactions: [ Reaction( - type: 'thumbs_up', + type: 'like', user: User(id: 'test'), ), ], @@ -86,7 +86,7 @@ void main() { child: ReactionBubble( reactions: [ Reaction( - type: 'thumbs_up', + type: 'like', user: User(id: 'test'), ), Reaction(