ConsumableTests: a hold with room for two consumables

The 1x1 interior fixture could not store the second consumable the
non-stackable test needs. Builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-09 20:29:27 +02:00
commit f79cf8b7a7

View file

@ -54,7 +54,7 @@ public sealed class ConsumableTests : IDisposable
Name = "Engine", Hardpoint = HardpointType.Sensors, Shape = new Shape(), Durability = 10,
Behaviors = { new ThrusterData { Thrust = thrust } }
});
var interior = new Shape(1, 1);
var interior = new Shape(2, 1); // room for two consumables
foreach (var cell in interior.AllCoordinates) interior[cell] = true;
var holdRef = cache.Upsert(new CargoBayData { Name = "Hold", Shape = new Shape(), InteriorShape = interior, Durability = 10 });
var consumableRef = cache.Upsert(new ConsumableItemData