diff --git a/packages/stream_chat/test/src/models/event_test.dart b/packages/stream_chat/test/src/models/event_test.dart index 265337be..16e56cc3 100644 --- a/packages/stream_chat/test/src/models/event_test.dart +++ b/packages/stream_chat/test/src/models/event_test.dart @@ -35,7 +35,8 @@ void main() { "online": false, "image": "https://getstream.io/random_svg/?name=Dry+meadow", "name": "Dry meadow" - } + }, + "is_local": false } '''; @@ -47,6 +48,7 @@ void main() { expect(event.createdAt, isA()); expect(event.me, isA()); expect(event.user, isA()); + expect(event.isLocal, false); }); test('should serialize to json correctly', () { @@ -81,6 +83,7 @@ void main() { 'channel_id': null, 'channel_type': null, 'parent_id': null, + 'is_local': true, }, ); });