Clean up MockTorHttpClient.
MODIFY
WalletWasabi.Tests/UnitTests/Clients/MockTorHttpClient.cs
WalletWasabi.Tests/UnitTests/Clients/MockTorHttpClient.cs
@@ -13,10 +13,6 @@ namespace WalletWasabi.Tests.UnitTests.Clients
{
public Uri DestinationUri => new Uri("https://payment.server.org/pj");
- public Func<Uri> DestinationUriAction => () => DestinationUri;
-
- public EndPoint TorSocks5EndPoint => IPEndPoint.Parse("127.0.0.1:9050");
-
public bool IsTorUsed => true;
public Func<HttpMethod, string, NameValueCollection, string, Task<HttpResponseMessage>> OnSendAsync { get; set; }
@@ -44,7 +40,7 @@ namespace WalletWasabi.Tests.UnitTests.Clients
Uri uri = request.RequestUri;
NameValueCollection parameters = HttpUtility.ParseQueryString(uri.Query);
- return await OnSendAsync(request.Method, uri.AbsolutePath, parameters, body);
+ return await OnSendAsync(request.Method, uri.AbsolutePath, parameters, body).ConfigureAwait(false);
}
}
}

Clean up MockTorHttpClient.