fix build

This commit is contained in:
2025-04-30 13:55:40 +07:00
parent 5caf9e2197
commit 61e20356cd
5 changed files with 19 additions and 19 deletions

View File

@@ -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);