fix tests

This commit is contained in:
Salvatore Giordano
2021-04-30 14:59:54 +02:00
parent 3283f008eb
commit 0d12e701a0
6 changed files with 25 additions and 15 deletions
@@ -223,7 +223,10 @@ void main() {
final mockDio = MockDio();
final mockUploader = MockAttachmentUploader();
const file = AttachmentFile(path: 'filePath/fileName.pdf');
const file = AttachmentFile(
path: 'filePath/fileName.pdf',
size: 100,
);
const channelId = 'testId';
const channelType = 'messaging';
@@ -262,7 +265,10 @@ void main() {
final mockDio = MockDio();
final mockUploader = MockAttachmentUploader();
const image = AttachmentFile(path: 'imagePath/imageName.jpeg');
const image = AttachmentFile(
path: 'imagePath/imageName.jpeg',
size: 100,
);
const channelId = 'testId';
const channelType = 'messaging';