Roll engine to 0c119932c0d6cb30dafd75ec717d1eda76fd7651 (#18575)
This commit is contained in:
committed by
Florian Loitsch
parent
9e7e6e7c9b
commit
08d1ec36de
@@ -15,7 +15,7 @@ MockHttpClient createMockImageHttpClient(SecurityContext _) {
|
||||
when(request.headers).thenReturn(headers);
|
||||
when(request.close()).thenAnswer((_) => new Future<HttpClientResponse>.value(response));
|
||||
when(response.contentLength).thenReturn(kTransparentImage.length);
|
||||
when(response.statusCode).thenReturn(HttpStatus.OK);
|
||||
when(response.statusCode).thenReturn(HttpStatus.ok);
|
||||
when(response.listen(typed(any))).thenAnswer((Invocation invocation) {
|
||||
final void Function(List<int>) onData = invocation.positionalArguments[0];
|
||||
final void Function() onDone = invocation.namedArguments[#onDone];
|
||||
|
||||
Reference in New Issue
Block a user