CultMesh element-id test: the catalog entry's content hash differs, so the record really is unresolvable

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-15 00:28:30 +02:00
commit 95ddc59680

View file

@ -273,6 +273,7 @@ public sealed class CultMeshSingleFileElementIdTests
const string changedId = "mesh.test.id_list.v0";
var entry = snapshot.SchemaCatalog.Single(candidate => candidate.SchemaName == "mesh.test.id_list");
entry.SchemaId = changedId;
entry.ContentHash = "persisted-by-another-runtime";
entry.Members.Single(member => member.Slot == 1).TypeName = "System.Collections.Generic.List`1[[Other.Inner]]";
snapshot.Records.Single(record => record.Key == IdsKey.Value).SchemaId = changedId;
File.WriteAllBytes(path, CultDocumentMessagePackSerialization.SerializeSnapshot(snapshot));