CatalogRoleTests: the mine launcher's renamed brand is found by name among its sellers
Tripwire is a second seller of the Mine Launcher; the test asserted the design had a single product. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e5962d960d
commit
c23390c76e
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ public sealed class CatalogRoleTests
|
|||
var mine = Assert.Single(cache.GetAll<EquippableItemData>(), d => cache.RefOf(d).Key.Value == "1b4a2bb358eb432eb1cfc0ccf3317303");
|
||||
Assert.Equal("Mine Launcher", mine.Name);
|
||||
Assert.Equal("Lays a drifting proximity mine that arms after two seconds.", mine.Description);
|
||||
var brand = Assert.Single(cache.GetAll<FactionProductData>(), p => p.Design.Key.Equals(cache.RefOf(mine).Key));
|
||||
var brand = Assert.Single(cache.GetAll<FactionProductData>(), p => p.Design.Key.Equals(cache.RefOf(mine).Key) && p.Name == "parting gift");
|
||||
Assert.Equal("parting gift", brand.Name);
|
||||
Assert.Equal("DME", cache.Get(brand.Manufacturer).ShortName);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue