test: fix more test.

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2023-07-28 21:07:02 +05:30
committed by xsahil03x
parent b2171b5572
commit db6febc989
@@ -27,7 +27,7 @@ void main() {
test('should serialize to json correctly', () { test('should serialize to json correctly', () {
final channel = Attachment( final channel = Attachment(
type: 'image', type: 'giphy',
title: 'soo', title: 'soo',
titleLink: titleLink:
'https://giphy.com/gifs/nrkp3-dance-happy-3o7TKnCdBx5cMg0qti', 'https://giphy.com/gifs/nrkp3-dance-happy-3o7TKnCdBx5cMg0qti',
@@ -36,7 +36,7 @@ void main() {
expect( expect(
channel.toJson(), channel.toJson(),
{ {
'type': 'image', 'type': 'giphy',
'title': 'soo', 'title': 'soo',
'title_link': 'title_link':
'https://giphy.com/gifs/nrkp3-dance-happy-3o7TKnCdBx5cMg0qti', 'https://giphy.com/gifs/nrkp3-dance-happy-3o7TKnCdBx5cMg0qti',