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(
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');
});
});
}