Skip to content

Commit

Permalink
test: fix image integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
richardshiue committed Feb 5, 2025
1 parent 6823fe5 commit 5edf3bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ void main() {
});

testWidgets('paste the image url', (tester) async {
const plainText = 'https://appflowy.io/1.jpg';
const plainText = 'http://example.com/1.jpg';
final image = await rootBundle.load('assets/test/images/sample.jpeg');
final bytes = image.buffer.asUint8List();
await tester.pasteContent(plainText: plainText, image: ('jpeg', bytes),
Expand Down

0 comments on commit 5edf3bc

Please sign in to comment.