docker files fixes from liaqat
This commit is contained in:
56
src/Managing.Infrastructure.Tests/SubgraphTests.cs
Normal file
56
src/Managing.Infrastructure.Tests/SubgraphTests.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using Xunit;
|
||||
using static Managing.Common.Enums;
|
||||
|
||||
namespace Managing.Infrastructure.Tests;
|
||||
|
||||
public class SubgraphTests
|
||||
{
|
||||
public SubgraphTests()
|
||||
{
|
||||
}
|
||||
|
||||
// [Fact]
|
||||
// public async void Should_get_price_from_chainlink_gmx()
|
||||
// {
|
||||
// var prices = await ChainlinkGmx.GetPrices(Ticker.BTC, DateTime.UtcNow.AddDays(-4), Timeframe.FiveMinutes);
|
||||
|
||||
// Assert.NotNull(prices);
|
||||
// Assert.True(prices.Any());
|
||||
// }
|
||||
|
||||
// [Fact]
|
||||
// public async void Should_get_price_from_gbc()
|
||||
// {
|
||||
// var prices = await GbcFeed.GetPrices(Ticker.BTC, DateTime.UtcNow.AddDays(-15), Timeframe.FiveMinutes);
|
||||
|
||||
// Assert.NotNull(prices);
|
||||
// Assert.True(prices.Any());
|
||||
// }
|
||||
|
||||
// [Fact]
|
||||
// public async void Should_get_price_from_chainlink()
|
||||
// {
|
||||
// var prices = await Chainlink.GetPrices(Ticker.BTC, DateTime.UtcNow.AddDays(-4), Timeframe.FiveMinutes);
|
||||
|
||||
// Assert.NotNull(prices);
|
||||
// Assert.True(prices.Any());
|
||||
// }
|
||||
|
||||
// [Fact]
|
||||
// public async void Should_get_top_tokens()
|
||||
// {
|
||||
// var top = await Uniswap.GetTopTokens();
|
||||
|
||||
// Assert.NotNull(top);
|
||||
// Assert.True(top.Tokens.Any());
|
||||
// }
|
||||
|
||||
// [Fact]
|
||||
// public async void Should_get_available_pairs_for_chainlink()
|
||||
// {
|
||||
// var pairs = await Chainlink.GetTickers();
|
||||
|
||||
// Assert.NotNull(pairs);
|
||||
// Assert.True(pairs.Any());
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user