Union guard tests: the store refusal names the record's schema id

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-10 21:35:37 +02:00
commit 29b21a0f33

View file

@ -294,7 +294,7 @@ namespace GameCult.Caching.Tests
Assert.Multiple(() =>
{
Assert.That(message, Does.Contain("Record 'd1'"));
Assert.That(message, Does.Contain("tests.guard_doc.v1"));
Assert.That(message, Does.Contain($"(schema '{Registry.GetRequired(typeof(GuardDoc)).SchemaId}')"));
Assert.That(message, Does.Contain(NodeName));
Assert.That(message, Does.Contain($"key {key} "));
Assert.That(message, Does.Not.Contain(Canary));