ItemTitleTests: Upsert already returns the faction ref (previous commit did not build)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7c211cee3c
commit
573aae7e90
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ public sealed class ItemTitleTests : IDisposable
|
|||
_cache.Upsert(new SimpleCommodityData { Name = "Ore", Shape = new Shape(), Price = 7, MaxStack = 100 });
|
||||
var finch = _cache.Upsert(new Faction { Name = "Finch", ShortName = "FIN" });
|
||||
var lucent = _cache.Upsert(new Faction { Name = "Lucent", ShortName = "LUC" });
|
||||
_stranger = _cache.RefOf<Faction>(_cache.Upsert(new Faction { Name = "Stranger", ShortName = "STR" }));
|
||||
_stranger = _cache.Upsert(new Faction { Name = "Stranger", ShortName = "STR" });
|
||||
_spice = new CompoundCommodityData { Name = "Spice", Shape = new Shape(), Price = 3 };
|
||||
_cache.Upsert(_spice);
|
||||
var design = _cache.RefOf<CraftedItemData>(_cache.GetByName<GearData>("Array"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue