fix(#15): bump NavMenu version and fix audit log test expectations for MaxPlayers
PR Checks / test-and-build (pull_request) Failing after 3m11s

This commit is contained in:
Hermes Agent
2026-05-07 12:37:36 +00:00
parent 0f03da0a60
commit 0dbd4064ac
2 changed files with 5 additions and 4 deletions
@@ -56,7 +56,7 @@
</button>
</form>
<div class="nav-version">v1.10.1</div>
<div class="nav-version">v1.10.2</div>
</div>
</Authorized>
<NotAuthorized>
@@ -184,7 +184,7 @@ public sealed class AuthorizedSessionServiceTests
]);
var service = new AuthorizedSessionService(store);
await service.UpdateSessionForGmAsync(sessionId, gmId, "Updated Title", DateTime.UtcNow.AddDays(1), "https://example.test/b", 5);
await service.UpdateSessionForGmAsync(sessionId, gmId, "Updated Title", DateTime.UtcNow.AddDays(1), "https://example.test/b", 10);
Assert.Single(store.LogEntries);
Assert.Equal("Title", store.LogEntries[0].ChangeType);
@@ -213,10 +213,11 @@ public sealed class AuthorizedSessionServiceTests
var newTime = originalTime.AddDays(1);
await service.UpdateSessionForGmAsync(sessionId, gmId, "Updated Title", newTime, "https://example.test/b", 5);
Assert.Equal(3, store.LogEntries.Count);
Assert.Equal(4, store.LogEntries.Count);
Assert.Contains(store.LogEntries, e => e.ChangeType == "Title");
Assert.Contains(store.LogEntries, e => e.ChangeType == "Time");
Assert.Contains(store.LogEntries, e => e.ChangeType == "Link");
Assert.Contains(store.LogEntries, e => e.ChangeType == "MaxPlayers");
}
[Fact]
@@ -237,7 +238,7 @@ public sealed class AuthorizedSessionServiceTests
]);
var service = new AuthorizedSessionService(store);
await service.UpdateSessionForGmAsync(sessionId, gmId, "Session A", originalTime, "https://example.test/a", 10);
await service.UpdateSessionForGmAsync(sessionId, gmId, "Session A", originalTime, "https://example.test/a", 4);
Assert.Empty(store.LogEntries);
}