Update packages/stream_chat/test/src/core/models/reaction_test.dart
This commit is contained in:
@@ -103,34 +103,16 @@ void main() {
|
||||
),
|
||||
);
|
||||
|
||||
expect(
|
||||
newReaction.type,
|
||||
'lol',
|
||||
);
|
||||
expect(newReaction.type, 'lol');
|
||||
expect(
|
||||
newReaction.createdAt,
|
||||
DateTime.parse('2021-01-28T22:17:31.108742Z'),
|
||||
);
|
||||
expect(
|
||||
newReaction.extraData,
|
||||
{},
|
||||
);
|
||||
expect(
|
||||
newReaction.messageId,
|
||||
'test',
|
||||
);
|
||||
expect(
|
||||
newReaction.score,
|
||||
2,
|
||||
);
|
||||
expect(
|
||||
newReaction.user,
|
||||
User(id: 'test'),
|
||||
);
|
||||
expect(
|
||||
newReaction.userId,
|
||||
'test',
|
||||
);
|
||||
expect(newReaction.extraData, {});
|
||||
expect(newReaction.messageId, 'test');
|
||||
expect(newReaction.score, 2);
|
||||
expect(newReaction.user, User(id: 'test'));
|
||||
expect(newReaction.userId, 'test');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user