Skip to content

Commit

Permalink
dump version
Browse files Browse the repository at this point in the history
  • Loading branch information
nopara73 committed Dec 23, 2018
1 parent 5d492ae commit 1f552db
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
23 changes: 12 additions & 11 deletions WalletWasabi.Tests/TorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,19 +133,20 @@ public async Task CanRequestInRowAsync()
// }
//}

[Fact]
public async Task CanRequestOnionV3Async()
{
using (var client = new TorHttpClient(new Uri("http://dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion"), SharedFixture.TorSocks5Endpoint))
{
HttpResponseMessage response = await client.SendAsync(HttpMethod.Get, "");
var content = await response.Content.ReadAsStringAsync();
// Unavailable at the time of writing. Not sure if it's even needed.
//[Fact]
//public async Task CanRequestOnionV3Async()
//{
// using (var client = new TorHttpClient(new Uri("http://dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion"), SharedFixture.TorSocks5Endpoint))
// {
// HttpResponseMessage response = await client.SendAsync(HttpMethod.Get, "");
// var content = await response.Content.ReadAsStringAsync();

Assert.Equal(HttpStatusCode.OK, response.StatusCode);
// Assert.Equal(HttpStatusCode.OK, response.StatusCode);

Assert.Contains("whonix", content, StringComparison.OrdinalIgnoreCase);
}
}
// Assert.Contains("whonix", content, StringComparison.OrdinalIgnoreCase);
// }
//}

[Fact]
public async Task DoesntIsolateStreamsAsync()
Expand Down
2 changes: 1 addition & 1 deletion WalletWasabi/Helpers/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace WalletWasabi.Helpers
{
public static class Constants
{
public static readonly Version ClientVersion = new Version(1, 0, 3);
public static readonly Version ClientVersion = new Version(1, 0, 4);
public const string BackendMajorVersion = "2";
public static readonly VersionsResponse VersionsResponse = new VersionsResponse { ClientVersion = ClientVersion.ToString(), BackenMajordVersion = BackendMajorVersion };

Expand Down

0 comments on commit 1f552db

Please sign in to comment.