From db6febc98962e9985ce5f2af204bd4aed6c56045 Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Thu, 27 Jul 2023 02:38:33 +0530 Subject: [PATCH] test: fix more test. Signed-off-by: xsahil03x --- .../stream_chat/test/src/core/models/attachment_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/stream_chat/test/src/core/models/attachment_test.dart b/packages/stream_chat/test/src/core/models/attachment_test.dart index edcc0da6..e9add109 100644 --- a/packages/stream_chat/test/src/core/models/attachment_test.dart +++ b/packages/stream_chat/test/src/core/models/attachment_test.dart @@ -27,7 +27,7 @@ void main() { test('should serialize to json correctly', () { final channel = Attachment( - type: 'image', + type: 'giphy', title: 'soo', titleLink: 'https://giphy.com/gifs/nrkp3-dance-happy-3o7TKnCdBx5cMg0qti', @@ -36,7 +36,7 @@ void main() { expect( channel.toJson(), { - 'type': 'image', + 'type': 'giphy', 'title': 'soo', 'title_link': 'https://giphy.com/gifs/nrkp3-dance-happy-3o7TKnCdBx5cMg0qti',