diff --git a/tests/Aetheria.Shared.Tests/ProductLinesCommandTests.cs b/tests/Aetheria.Shared.Tests/ProductLinesCommandTests.cs index a036138f2..53b8fe773 100644 --- a/tests/Aetheria.Shared.Tests/ProductLinesCommandTests.cs +++ b/tests/Aetheria.Shared.Tests/ProductLinesCommandTests.cs @@ -189,6 +189,8 @@ public abstract class ProductLinesCommandTests : IDisposable } +// One collection: the lines open the same catalog records through shared state and must not run side by side. +[Collection("ProductLinesCommand")] public sealed class WeaponLineCommandTests : ProductLinesCommandTests { public WeaponLineCommandTests() : base("weapons") { } @@ -271,6 +273,7 @@ public sealed class WeaponLineCommandTests : ProductLinesCommandTests } } +[Collection("ProductLinesCommand")] public sealed class GearLineCommandTests : ProductLinesCommandTests { public GearLineCommandTests() : base("gear") { }