Boss tests store Loadouts through the cache batch at Loadouts.KeyOf (the cache has no keyed Upsert)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e385e7ce0e
commit
fc992f5abe
2 changed files with 9 additions and 5 deletions
|
|
@ -139,7 +139,7 @@ public sealed class LoadoutCommitCommandTests : IDisposable
|
|||
case "mod-design":
|
||||
var mod = Copy(cache.GetAll<EquippableItemData>().Single(d => d.Name == fit.designName));
|
||||
mod.Name = "Mod gadget";
|
||||
cache.Upsert(mod.GetType(), mod, new CultRecordKey("mod-ship:mod.gadget"));
|
||||
Assert.True(cache.Commit(batch => batch.Upsert(mod.GetType(), mod, new CultRecordKey("mod-ship:mod.gadget"))));
|
||||
break;
|
||||
}
|
||||
cache.FlushAsync().Wait();
|
||||
|
|
|
|||
Loading…
Reference in a new issue