Tests: rename the seeding loop variable that shadowed the record (414cf6e1 does not build the Caching tests)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
414cf6e1ee
commit
ce46a40153
1 changed files with 2 additions and 2 deletions
|
|
@ -566,8 +566,8 @@ namespace GameCult.Caching.Tests
|
|||
var snapshot = Snapshot(path);
|
||||
snapshot.SchemaCatalog.Single().SchemaId = snapshot.SchemaCatalog.Single().ContentHash = ListerOldId;
|
||||
snapshot.SchemaCatalog.Single().CompatibleSchemaIds = new[] { ListerOldId };
|
||||
foreach (var record in snapshot.Records)
|
||||
record.SchemaId = ListerOldId;
|
||||
foreach (var seeded in snapshot.Records)
|
||||
seeded.SchemaId = ListerOldId;
|
||||
File.WriteAllBytes(path, CultDocumentMessagePackSerialization.SerializeSnapshot(snapshot));
|
||||
var registry = CultDocumentRegistry.ForTypes(new[] { typeof(NoteLister) });
|
||||
var full = registry.GetRequired<NoteLister>().ToCatalogEntry();
|
||||
|
|
|
|||
Loading…
Reference in a new issue