Skip to content

Commit

Permalink
test: fix - remove additional code
Browse files Browse the repository at this point in the history
  • Loading branch information
jirikostiha committed Oct 15, 2024
1 parent f7fa143 commit 53a1f90
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/UnitTests/XApiClientTest.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
using System.Threading;

namespace Xtb.XApi.UnitTests;

public class XApiClientTest
{
[Fact]
public async Task Create()
public void Create()
{
var client = XApiClient.Create("81.2.190.163", 5112, 5113);
await client.ConnectAsync();
await client.LoginAsync(new Credentials("login", "password"));
var openTrades = await client.GetTradesAsync(true);

Assert.NotNull(client.ApiConnector);
Assert.NotNull(client.ApiConnector.Endpoint);
Expand Down

0 comments on commit 53a1f90

Please sign in to comment.