diff --git a/tests/GameCult.Caching.Tests/RestampOnWriteTests.cs b/tests/GameCult.Caching.Tests/RestampOnWriteTests.cs index d8ac7ffc..3ee99a33 100644 --- a/tests/GameCult.Caching.Tests/RestampOnWriteTests.cs +++ b/tests/GameCult.Caching.Tests/RestampOnWriteTests.cs @@ -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().ToCatalogEntry();