Fixed failing tests

This commit is contained in:
Ayush Shekhar
2022-04-14 14:37:39 +05:30
parent 9d0f66ee8c
commit 478033078f
3 changed files with 32 additions and 16 deletions
@@ -66,7 +66,16 @@ void main() {
home: Builder(
builder: (context) {
_context = context;
final _message = Message();
final attachment = Attachment(
type: 'video',
title: 'video.mp4',
);
final _message = Message(
createdAt: DateTime.now(),
attachments: [
attachment,
],
);
return Scaffold(
appBar: StreamGalleryHeader(
message: _message,
@@ -107,7 +116,16 @@ void main() {
home: Builder(
builder: (context) {
_context = context;
final _message = Message();
final attachment = Attachment(
type: 'video',
title: 'video.mp4',
);
final _message = Message(
createdAt: DateTime.now(),
attachments: [
attachment,
],
);
return Scaffold(
appBar: StreamGalleryHeader(
message: _message,