Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisInSky committed Nov 15, 2024
1 parent f92088a commit b22805b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 144 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Threading.Tasks;
using System.Threading.Tasks;
using Sails.Remoting.Tests._Infra.XUnit.Fixtures;
using Sails.Tests.Shared.XUnit;
using Substrate.Gear.Api.Generated;
Expand All @@ -20,11 +19,10 @@ public RemotingViaNodeClientTests(SailsFixture sailsFixture)
[Fact]
public async Task Test()
{
var gearNodeWsUrl = this.sailsFixture.GearNodeWsUrl;
var nodeWsUrl = this.sailsFixture.GearNodeWsUrl;

using (var nodeClient = new SubstrateClientExt(gearNodeWsUrl, ChargeTransactionPayment.Default()))
using (var nodeClient = new SubstrateClientExt(nodeWsUrl, ChargeTransactionPayment.Default()))
{
await Task.Delay(TimeSpan.FromSeconds(3));
await nodeClient.ConnectAsync();
}
}
Expand Down
139 changes: 0 additions & 139 deletions net/tests/Sails.Tests.Shared/XUnit/Fixtures/SailsFixture.cs

This file was deleted.

0 comments on commit b22805b

Please sign in to comment.