Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvister committed Dec 4, 2018
1 parent 6df97f5 commit c793f57
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/Binance.Tests/Api/BinanceHttpClientExtensionsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,7 @@ public Task GetOrderBookThrows()
[Fact]
public async Task GetAggregateTradesThrows()
{
var now = DateTime.UtcNow;

var startTime = DateTime.UtcNow.AddHours(-25);
var endTime = now;

await Assert.ThrowsAsync<ArgumentNullException>("symbol", () => _client.GetAggregateTradesAsync(null));
await Assert.ThrowsAsync<ArgumentException>("endTime", () => _client.GetAggregateTradesAsync(Symbol.BTC_USDT, startTime: startTime, endTime: endTime));
}

[Fact]
Expand Down

0 comments on commit c793f57

Please sign in to comment.