Changed path and Changed seconds to Alpha

This commit is contained in:
2023-04-19 08:33:17 -07:00
parent c655ed5c6b
commit 2f3f1b7947
7 changed files with 76 additions and 35 deletions

View File

@ -69,4 +69,17 @@ public class UnitTestReactorController
NonThrowTryCatch();
}
[TestMethod]
public void GetKey()
{
_Logger.Information("Starting Web Application");
IServiceProvider serviceProvider = _WebApplicationFactory.Services.CreateScope().ServiceProvider;
IReactorsRepository reactorsRepository = serviceProvider.GetRequiredService<IReactorsRepository>();
WorkMaterialOut workMaterialOut = new() { RunDataSheet = "123456", Username = "phares" };
string? result = reactorsRepository.GetKey(workMaterialOut, save: false);
Assert.IsNotNull(result);
_Logger.Information($"{_TestContext?.TestName} completed");
NonThrowTryCatch();
}
}