Update packages/stream_chat/test/src/core/models/reaction_test.dart

This commit is contained in:
Sahil Kumar
2021-06-17 15:01:53 +05:30
committed by GitHub
parent 6a2efb18e4
commit a98148e0db
@@ -103,34 +103,16 @@ void main() {
), ),
); );
expect( expect(newReaction.type, 'lol');
newReaction.type,
'lol',
);
expect( expect(
newReaction.createdAt, newReaction.createdAt,
DateTime.parse('2021-01-28T22:17:31.108742Z'), DateTime.parse('2021-01-28T22:17:31.108742Z'),
); );
expect( expect(newReaction.extraData, {});
newReaction.extraData, expect(newReaction.messageId, 'test');
{}, expect(newReaction.score, 2);
); expect(newReaction.user, User(id: 'test'));
expect( expect(newReaction.userId, 'test');
newReaction.messageId,
'test',
);
expect(
newReaction.score,
2,
);
expect(
newReaction.user,
User(id: 'test'),
);
expect(
newReaction.userId,
'test',
);
}); });
}); });
} }