@@ -13,15 +13,15 @@ void main() {
1313 loader: () => Uint8List .fromList ([0 , 0 , 0 , 0 ]),
1414 filename: 'test.txt' ,
1515 );
16- expect (attachment.attachmentType, AttachmentType .attachment );
16+ expect (attachment.attachmentType, SentryAttachment .typeAttachmentDefault );
1717 expect (attachment.contentType, isNull);
1818 expect (attachment.filename, 'test.txt' );
1919 await expectLater (await attachment.bytes, [0 , 0 , 0 , 0 ]);
2020 });
2121
2222 test ('fromIntList' , () async {
2323 final attachment = SentryAttachment .fromIntList ([0 , 0 , 0 , 0 ], 'test.txt' );
24- expect (attachment.attachmentType, AttachmentType .attachment );
24+ expect (attachment.attachmentType, SentryAttachment .typeAttachmentDefault );
2525 expect (attachment.contentType, isNull);
2626 expect (attachment.filename, 'test.txt' );
2727 await expectLater (await attachment.bytes, [0 , 0 , 0 , 0 ]);
@@ -32,7 +32,7 @@ void main() {
3232 Uint8List .fromList ([0 , 0 , 0 , 0 ]),
3333 'test.txt' ,
3434 );
35- expect (attachment.attachmentType, AttachmentType .attachment );
35+ expect (attachment.attachmentType, SentryAttachment .typeAttachmentDefault );
3636 expect (attachment.contentType, isNull);
3737 expect (attachment.filename, 'test.txt' );
3838 await expectLater (await attachment.bytes, [0 , 0 , 0 , 0 ]);
@@ -43,7 +43,7 @@ void main() {
4343 ByteData .sublistView (Uint8List .fromList ([0 , 0 , 0 , 0 ])),
4444 'test.txt' ,
4545 );
46- expect (attachment.attachmentType, AttachmentType .attachment );
46+ expect (attachment.attachmentType, SentryAttachment .typeAttachmentDefault );
4747 expect (attachment.contentType, isNull);
4848 expect (attachment.filename, 'test.txt' );
4949 await expectLater (await attachment.bytes, [0 , 0 , 0 , 0 ]);
@@ -66,7 +66,7 @@ void main() {
6666 final attachmentEnvelope = transport.envelopes.first.items[1 ];
6767 expect (
6868 attachmentEnvelope.header.attachmentType,
69- AttachmentType .attachment ,
69+ SentryAttachment .typeAttachmentDefault ,
7070 );
7171 expect (
7272 attachmentEnvelope.header.contentType,
0 commit comments