Skip to content

Commit

Permalink
Merge pull request #427 from jason-simmons/fix_test_092520
Browse files Browse the repository at this point in the history
Provide a value for HttpResponse.compressionState in the network test
  • Loading branch information
dnfield committed Sep 25, 2020
2 parents 7d3256f + 3b3d76d commit 307347c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/widget_svg_test.dart
Expand Up @@ -360,6 +360,7 @@ void main() {
testWidgets('SvgPicture.network', (WidgetTester tester) async {
await HttpOverrides.runZoned(() async {
when(mockResponse.statusCode).thenReturn(200);
when(mockResponse.compressionState).thenReturn(HttpClientResponseCompressionState.notCompressed);
final GlobalKey key = GlobalKey();
await tester.pumpWidget(
MediaQuery(
Expand Down

0 comments on commit 307347c

Please sign in to comment.