Update packages/stream_chat/test/src/core/models/reaction_test.dart
This commit is contained in:
@@ -77,34 +77,16 @@ void main() {
|
|||||||
userId: 'test',
|
userId: 'test',
|
||||||
);
|
);
|
||||||
|
|
||||||
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',
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('merge', () {
|
test('merge', () {
|
||||||
|
|||||||
Reference in New Issue
Block a user