Skip to content

Commit

Permalink
123123
Browse files Browse the repository at this point in the history
  • Loading branch information
s2quake committed Feb 8, 2024
1 parent 72979a2 commit 4984d76
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@
using Libplanet.Explorer.Queries;
using Xunit;
using static Libplanet.Explorer.Tests.GraphQLTestUtils;
using Xunit.Abstractions;

namespace Libplanet.Explorer.Tests.Queries;

public class TransactionQueryGeneratedTest
{
private readonly ITestOutputHelper _output;
protected readonly GeneratedBlockChainFixture Fx;
protected MockBlockChainContext Source;
protected TransactionQuery QueryGraph;

public TransactionQueryGeneratedTest()
public TransactionQueryGeneratedTest(ITestOutputHelper output)
{
_output = output;
Fx = new GeneratedBlockChainFixture(
new System.Random().Next(),
txActionsForSuffixBlocks:
Expand Down Expand Up @@ -234,6 +237,7 @@ private async Task AssertAgainstTransactionsQuery(
var actual =
await ExecuteTransactionsQueryAsync(signer, desc, offset, limit);

_output.WriteLine($"{signer}");
Assert.Equal(expected.Length, actual.Length);
foreach (var i in Enumerable.Range(0, actual.Length))
{
Expand Down

0 comments on commit 4984d76

Please sign in to comment.