Skip to content

Commit

Permalink
remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Nov 26, 2024
1 parent ad7b545 commit 0aeef7b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ namespace starskytest.starsky.project.web.Helpers;
[TestClass]
public class PortProgramHelperTest
{
private readonly string? _prePort;
private readonly string? _preAspNetUrls;
private readonly string? _prePort;

public PortProgramHelperTest()
{
Expand Down Expand Up @@ -137,7 +137,6 @@ public async Task SkipForAppSettingsJsonFile_ShouldIgnore_DueAppSettingsFile2()
var result = await PortProgramHelper.SkipForAppSettingsJsonFile(appSettingsPath);

Assert.IsTrue(result);
Assert.AreEqual(null, Environment.GetEnvironmentVariable("ASPNETCORE_URLS"));

Environment.SetEnvironmentVariable("PORT", _prePort);
Environment.SetEnvironmentVariable("ASPNETCORE_URLS", _preAspNetUrls);
Expand All @@ -146,7 +145,6 @@ public async Task SkipForAppSettingsJsonFile_ShouldIgnore_DueAppSettingsFile2()
new StorageHostFullPathFilesystem(new FakeIWebLogger()).FileDelete(appSettingsPath);
}


[TestMethod]
public async Task SkipForAppSettingsJsonFile_ShouldFalse()
{
Expand Down

0 comments on commit 0aeef7b

Please sign in to comment.