InfinityQSV2
This commit is contained in:
@ -37,6 +37,7 @@ public class UnitAwaitingDispoController
|
||||
_Logger.Information($"{_TestContext?.TestName} completed");
|
||||
}
|
||||
|
||||
[Ignore]
|
||||
[TestMethod]
|
||||
public void Index()
|
||||
{
|
||||
@ -48,18 +49,19 @@ public class UnitAwaitingDispoController
|
||||
_Logger.Information($"{_TestContext?.TestName} completed");
|
||||
}
|
||||
|
||||
[Ignore]
|
||||
[TestMethod]
|
||||
public async Task IndexApi()
|
||||
{
|
||||
HttpClient httpClient = _WebApplicationFactory.CreateClient();
|
||||
_Logger.Information("Starting Web Application");
|
||||
string? json = await httpClient.GetStringAsync($"api/{_ControllerName}");
|
||||
File.WriteAllText(Path.Combine(AppContext.BaseDirectory, $"{nameof(IMetrologyRepository.GetAwaitingDisposition)}Api.json"), json);
|
||||
File.WriteAllText(Path.Combine(AppContext.BaseDirectory, $"{_ControllerName}-{nameof(IMetrologyRepository.GetAwaitingDisposition)}Api.json"), json);
|
||||
_Logger.Information($"{_TestContext?.TestName} completed");
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
[Ignore]
|
||||
[TestMethod]
|
||||
public void MarkAsReviewed()
|
||||
{
|
||||
_Logger.Information("Starting Web Application");
|
||||
@ -69,8 +71,8 @@ public class UnitAwaitingDispoController
|
||||
_Logger.Information($"{_TestContext?.TestName} completed");
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
[Ignore]
|
||||
[TestMethod]
|
||||
public async Task MarkAsReviewedApi()
|
||||
{
|
||||
HttpClient httpClient = _WebApplicationFactory.CreateClient();
|
||||
@ -79,8 +81,8 @@ public class UnitAwaitingDispoController
|
||||
_Logger.Information($"{_TestContext?.TestName} completed");
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
[Ignore]
|
||||
[TestMethod]
|
||||
public void MarkAsAwaiting()
|
||||
{
|
||||
_Logger.Information("Starting Web Application");
|
||||
@ -91,8 +93,8 @@ public class UnitAwaitingDispoController
|
||||
_Logger.Information($"{_TestContext?.TestName} completed");
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
[Ignore]
|
||||
[TestMethod]
|
||||
public async Task MarkAsAwaitingApi()
|
||||
{
|
||||
HttpClient httpClient = _WebApplicationFactory.CreateClient();
|
||||
|
Reference in New Issue
Block a user