fix build
This commit is contained in:
@@ -5,8 +5,6 @@ using Managing.Domain.Candles;
|
||||
using Managing.Domain.Trades;
|
||||
using Managing.Infrastructure.Evm;
|
||||
using Managing.Infrastructure.Evm.Abstractions;
|
||||
using Managing.Infrastructure.Evm.Models.Privy;
|
||||
using Managing.Infrastructure.Evm.Services;
|
||||
using Managing.Infrastructure.Exchanges;
|
||||
using Managing.Infrastructure.Exchanges.Abstractions;
|
||||
using Managing.Infrastructure.Exchanges.Exchanges;
|
||||
@@ -16,7 +14,6 @@ using Moq;
|
||||
using Xunit;
|
||||
using static Managing.Common.Enums;
|
||||
using Ticker = Managing.Common.Enums.Ticker;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace Managing.Infrastructure.Tests
|
||||
{
|
||||
@@ -92,7 +89,8 @@ namespace Managing.Infrastructure.Tests
|
||||
public void Should_Return_List_Of_Candle_Given_Ticker(TradingExchanges exchange, Ticker ticker)
|
||||
{
|
||||
var account = PrivateKeys.GetAccount();
|
||||
var candles = _exchangeService.GetCandles(account, ticker, DateTime.Now.AddDays(-10), Timeframe.OneDay)
|
||||
var candles = _exchangeService
|
||||
.GetCandles(account, ticker, DateTime.Now.AddDays(-10), Timeframe.OneDay, true)
|
||||
.Result;
|
||||
Assert.IsType<List<Candle>>(candles);
|
||||
Assert.InRange(candles.Count, 1, 15);
|
||||
|
||||
Reference in New Issue
Block a user