Add persisted runtime settings page with cookie login
This commit is contained in:
1 parent
b561924efa
commit
37987a394a
43 files changed
+1346
-61
No files matched your search
@@ -1,6 +1,5 @@
|
||||
using Flypaper.Core;
|
||||
using Flypaper.Core.Strategies;
|
||||
using Microsoft.Extensions.Options;
|
||||
using Shouldly;
|
||||
|
||||
namespace Flypaper.Tests;
|
||||
@@ -39,5 +38,5 @@ public sealed class DripStrategyTests
|
||||
CreateStrategy(TimeSpan.FromSeconds(1)).Supports(protocol).ShouldBe(expected);
|
||||
|
||||
private static DripStrategy CreateStrategy(TimeSpan interval) =>
|
||||
new(Options.Create(new DripOptions { Interval = interval }), TimeProvider.System);
|
||||
new(TestOptions.Monitor(new DripOptions { Interval = interval }), TimeProvider.System);
|
||||
}
|
||||
Reference in new issue
Block a user