Add test: CanDoHttpsRequestManyAsync
MODIFY
MagicalCryptoWallet.Tests/TorTests.cs
MagicalCryptoWallet.Tests/TorTests.cs
@@ -77,6 +77,20 @@ namespace MagicalCryptoWallet.Tests
}
}
+ [Fact]
+ public async Task CanDoHttpsRequestManyAsync()
+ {
+ using (var client = new TorHttpClient(new Uri("https://api.qbit.ninja")))
+ {
+ var contents = await QBitTestAsync(client, 15);
+
+ foreach (var content in contents)
+ {
+ Assert.Equal("\"Good question Holmes !\"", content);
+ }
+ }
+ }
+
[Fact]
public async Task CanRequestChunkEncodedAsync()
{

Add test: CanDoHttpsRequestManyAsync