From 09dde6346349311fe6899ef44af232388d35b993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCder?= Date: Mon, 7 Nov 2022 14:31:38 +0100 Subject: [PATCH] Fixed test override --- pkgs/http/test/io/client_test.dart | 10 ++++++++-- pkgs/http/test/io/http_test.dart | 5 ++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/http/test/io/client_test.dart b/pkgs/http/test/io/client_test.dart index 60903ddb93..f9e2b09db4 100644 --- a/pkgs/http/test/io/client_test.dart +++ b/pkgs/http/test/io/client_test.dart @@ -14,14 +14,20 @@ import '../utils.dart'; class TestClient extends http.BaseClient { @override - Future send(http.BaseRequest request) { + Future send( + http.BaseRequest request, + http.Progress? onSendProgress, + ) { throw UnimplementedError(); } } class TestClient2 extends http.BaseClient { @override - Future send(http.BaseRequest request) { + Future send( + http.BaseRequest request, + http.Progress? onSendProgress, + ) { throw UnimplementedError(); } } diff --git a/pkgs/http/test/io/http_test.dart b/pkgs/http/test/io/http_test.dart index a551230958..9e455f3ef0 100644 --- a/pkgs/http/test/io/http_test.dart +++ b/pkgs/http/test/io/http_test.dart @@ -11,7 +11,10 @@ import '../utils.dart'; class TestClient extends http.BaseClient { @override - Future send(http.BaseRequest request) { + Future send( + http.BaseRequest request, + http.Progress? onSendProgress, + ) { throw UnimplementedError(); } }