Refactor services to use DI for IHaContext and TimeProvider
This commit is contained in:
@@ -32,7 +32,8 @@ public class LeakNotificationServiceTests
|
||||
return new LeakNotificationService(
|
||||
_haContextMock.Object,
|
||||
_loggerMock.Object,
|
||||
Options.Create(_options));
|
||||
Options.Create(_options),
|
||||
TimeProvider.System);
|
||||
}
|
||||
|
||||
#region SendLeakAlert
|
||||
|
||||
Reference in New Issue
Block a user