Add persisted runtime settings page with cookie login

This commit is contained in:
Tom committed 2026-11-14 13:54:02 +01:00
1 parent b561924efa
commit 37987a394a
43 files changed
+1346 -61

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
using Microsoft.Extensions.Options;
using NSubstitute;
namespace Flypaper.Tests;
internal static class TestOptions
{
public static IOptionsMonitor<T> Monitor<T>(T value) where T : class
{
var monitor = Substitute.For<IOptionsMonitor<T>>();
monitor.CurrentValue.Returns(value);
return monitor;
}
}