Pipeline
This commit is contained in:
.kanbn
index.md
.prettierignoretasks
apt-get-install.mdazure-pipeline.mdconfigure-ufw.mdcreate-as-service.mdepi-pro-scan.mdinstall-net-7-0.mdinstall-ubuntu-frame.mdinstall-vscode-extensions.mdnetplan.mdpost-only-once.mdpublish.mdpull-repo.mdroll-out.mdrun-secrets-task.mdrun-test-ports.mdself-signed-certificate.mdsetup-nginx.mdsignalr.mdupdate-os.md
.vscode
Barcode-Host.ymlServer.Tests
Server
HostedService
Models
Pages
wwwroot
Shared/Models/Stateless
package-lock.jsonpackage.json@ -43,7 +43,7 @@ public class UnitTestFileService
|
||||
IServiceProvider serviceProvider = _WebApplicationFactory.Services.CreateScope().ServiceProvider;
|
||||
Server.Models.AppSettings appSettings = serviceProvider.GetRequiredService<Server.Models.AppSettings>();
|
||||
IFileService fileService = serviceProvider.GetRequiredService<IFileService>();
|
||||
Notification notification = new(KeyPressEvent: null, "Test");
|
||||
Notification notification = new(KeyPressEvent: null, "Test", null);
|
||||
fileService.Write(appSettings.EquipmentName, appSettings.FileShare, calendar: null, notification);
|
||||
_Logger.Information($"{_TestContext?.TestName} completed");
|
||||
NonThrowTryCatch();
|
||||
|
Reference in New Issue
Block a user