Caching tests: the persisted descriptor carries its own content hash
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a88b5930ec
commit
eabb50e68c
1 changed files with 1 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ namespace GameCult.Caching.Tests
|
|||
{
|
||||
var catalog = CultDocumentRegistry.Shared.GetRequired<RefListHolder>().ToCatalogEntry();
|
||||
catalog.SchemaId = "persisted.tests.reflist_holder.v1";
|
||||
catalog.ContentHash = "sha256:persisted-by-1.0.x";
|
||||
catalog.CompatibleSchemaIds = new[] { CultDocumentRegistry.Shared.GetRequired<RefListHolder>().SchemaId };
|
||||
persistedItems(catalog.Members.Single(member => member.Slot == 1));
|
||||
return CultDocumentRegistry.Shared.ResolvePersistedSchemaReport(catalog.SchemaId, new[] { catalog });
|
||||
|
|
|
|||
Loading…
Reference in a new issue