fix tests

Signed-off-by: Sahil Kumar <[email protected]>
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: [ latestReactions: [
Reaction( Reaction(
type: 'thumbs_up', type: 'like',
user: User(id: testUserId), user: User(id: testUserId),
), ),
Reaction( Reaction(
+3 -3
View File
@@ -31,7 +31,7 @@ void main() {
); );
testWidgets( testWidgets(
'it should show a thumb up', 'it should show a like',
(WidgetTester tester) async { (WidgetTester tester) async {
final client = MockClient(); final client = MockClient();
final clientState = MockClientState(); final clientState = MockClientState();
@@ -50,7 +50,7 @@ void main() {
child: ReactionBubble( child: ReactionBubble(
reactions: [ reactions: [
Reaction( Reaction(
type: 'thumbs_up', type: 'like',
user: User(id: 'test'), user: User(id: 'test'),
), ),
], ],
@@ -86,7 +86,7 @@ void main() {
child: ReactionBubble( child: ReactionBubble(
reactions: [ reactions: [
Reaction( Reaction(
type: 'thumbs_up', type: 'like',
user: User(id: 'test'), user: User(id: 'test'),
), ),
Reaction( Reaction(