This commit is contained in:
2026-06-28 13:58:35 +03:00
parent 8f45028715
commit e6bf8258bb
114 changed files with 4365 additions and 874 deletions
@@ -1,5 +1,4 @@
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
using NetDaemon.HassModel;
@@ -24,9 +23,7 @@ public class ExhaustFanControlServiceTests
private ExhaustFanControlService CreateService(ShowerMonitorOptions? options = null)
{
return new ExhaustFanControlService(
Mock.Of<ILogger<ExhaustFanControlService>>(),
Options.Create(options ?? _defaultOptions));
return new ExhaustFanControlService(Options.Create(options ?? _defaultOptions));
}
[Fact]
@@ -1,7 +1,5 @@
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
using ShowerMonitor.Models.Enums;
using ShowerMonitorManager;
using ShowerMonitorManager.Interface;
@@ -31,7 +29,6 @@ public class ShowerDetectionServiceTests
return new ShowerDetectionService(
calculator,
Mock.Of<ILogger<ShowerDetectionService>>(),
Options.Create(opts));
}