fix tests

Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
This commit is contained in:
Sahil Kumar
2021-01-04 20:20:19 +05:30
parent 8421faa450
commit e2a07bbfa5
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ void main() {
),
latestReactions: [
Reaction(
type: 'thumbs_up',
type: 'like',
user: User(id: testUserId),
),
Reaction(
+3 -3
View File
@@ -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(