diff --git a/Tests/UnitTestInfinityQSV2Controller.cs b/Tests/UnitTestInfinityQSV2Controller.cs index 1165a38..f372bcf 100644 --- a/Tests/UnitTestInfinityQSV2Controller.cs +++ b/Tests/UnitTestInfinityQSV2Controller.cs @@ -82,7 +82,7 @@ public class UnitTestInfinityQSV2Controller _Logger?.LogInformation("Starting Web Application"); IServiceProvider? serviceProvider = _WebApplicationFactory?.Services.CreateScope().ServiceProvider; IInfinityQSV2Repository? infinityQSV2Repository = serviceProvider?.GetRequiredService(); - Result? result = infinityQSV2Repository?.GetData("1677273357"); + Result? result = infinityQSV2Repository?.GetData("1677273357"); Assert.IsNotNull(result?.Results); Assert.IsTrue(result?.Results.Length != 0); Assert.IsNotNull(result?.Results[0].Process); @@ -106,7 +106,7 @@ public class UnitTestInfinityQSV2Controller //string? json = await httpClient.GetStringAsync($"api/{_ControllerName}/1677273357 575908_2023-02-24 14-18-05.txt/data"); string? json = await httpClient.GetStringAsync($"api/{_ControllerName}/1677273357/data"); File.WriteAllText(Path.Combine(AppContext.BaseDirectory, $"{_ControllerName}-{nameof(GetData)}.json"), json); - Result? result = System.Text.Json.JsonSerializer.Deserialize>(json); + Result? result = System.Text.Json.JsonSerializer.Deserialize>(json); Assert.IsNotNull(result?.Results); _Logger?.LogInformation("{TestName} completed", _TestContext?.TestName); NonThrowTryCatch(); @@ -189,7 +189,7 @@ public class UnitTestInfinityQSV2Controller _Logger?.LogInformation("Starting Web Application"); IServiceProvider? serviceProvider = _WebApplicationFactory?.Services.CreateScope().ServiceProvider; IInfinityQSV2Repository? infinityQSV2Repository = serviceProvider?.GetRequiredService(); - Result? result = infinityQSV2Repository?.GetHeader("1677273357"); + Result? result = infinityQSV2Repository?.GetHeader("1677273357"); Assert.IsNotNull(result?.Results); Assert.IsNotNull(result?.Results[0].Part); _Logger?.LogInformation("{TestName} completed", _TestContext?.TestName); @@ -207,7 +207,7 @@ public class UnitTestInfinityQSV2Controller Assert.IsTrue(httpClient is not null); string? json = await httpClient.GetStringAsync($"api/{_ControllerName}/1677273357/header"); File.WriteAllText(Path.Combine(AppContext.BaseDirectory, $"{_ControllerName}-{nameof(GetHeader)}.json"), json); - Result? result = System.Text.Json.JsonSerializer.Deserialize>(json); + Result? result = System.Text.Json.JsonSerializer.Deserialize>(json); Assert.IsNotNull(result?.Results); Assert.IsNotNull(result?.Results[0].Part); _Logger?.LogInformation("{TestName} completed", _TestContext?.TestName);