diff --git a/tests/Aetheria.Shared.Tests/ShipValidationTests.cs b/tests/Aetheria.Shared.Tests/ShipValidationTests.cs index 928598b00..6af02ab03 100644 --- a/tests/Aetheria.Shared.Tests/ShipValidationTests.cs +++ b/tests/Aetheria.Shared.Tests/ShipValidationTests.cs @@ -24,6 +24,7 @@ public sealed class ShipValidationTests var ship = ShipAuthoringTests.Fixture(); ship.Hull.HullType = type; ship.Hull.Behaviors.Clear(); + ship.Hull.Behaviors.Add(new CapacitorData()); // a hull with other behaviors still has no top speed if (accepted) ship.Validate(); else Assert.Contains("top speed", Assert.Throws(() => ship.Validate()).Message); }