From 0135c03faa9a6a953034b939d46fa30753f694c1 Mon Sep 17 00:00:00 2001 From: Tomislav Markovski Date: Fri, 5 Nov 2021 15:17:47 -0400 Subject: [PATCH] Small fix on testing project to assign port correctly --- dotnet/Trinsic.Tests/Tests.cs | 2 +- dotnet/Trinsic.Tests/Trinsic.Tests.csproj | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/dotnet/Trinsic.Tests/Tests.cs b/dotnet/Trinsic.Tests/Tests.cs index 3a72b1087..a868dadee 100644 --- a/dotnet/Trinsic.Tests/Tests.cs +++ b/dotnet/Trinsic.Tests/Tests.cs @@ -54,7 +54,7 @@ public async Task TestWalletService() var walletService = new WalletService(new ServerConfig { Endpoint = Environment.GetEnvironmentVariable("TEST_SERVER_ENDPOINT") ?? "localhost", - Port = int.TryParse(Environment.GetEnvironmentVariable("TEST_SERVER_ENDPOINT"), out var port) ? port : 5000, + Port = int.TryParse(Environment.GetEnvironmentVariable("TEST_SERVER_PORT"), out var port) ? port : 5000, UseTls = bool.TryParse(Environment.GetEnvironmentVariable("TEST_SERVER_USE_TLS"), out var useTls) ? useTls : false }); diff --git a/dotnet/Trinsic.Tests/Trinsic.Tests.csproj b/dotnet/Trinsic.Tests/Trinsic.Tests.csproj index e7d780450..a26fd482f 100644 --- a/dotnet/Trinsic.Tests/Trinsic.Tests.csproj +++ b/dotnet/Trinsic.Tests/Trinsic.Tests.csproj @@ -11,11 +11,6 @@ Project true - - - - -