diff --git a/test/WireMock.Net.Tests/WebSockets/WebSocketIntegrationTests.cs b/test/WireMock.Net.Tests/WebSockets/WebSocketIntegrationTests.cs index 1ea8f1ef..49071a21 100644 --- a/test/WireMock.Net.Tests/WebSockets/WebSocketIntegrationTests.cs +++ b/test/WireMock.Net.Tests/WebSockets/WebSocketIntegrationTests.cs @@ -11,6 +11,7 @@ using WireMock.Settings; namespace WireMock.Net.Tests.WebSockets; +[Collection(nameof(WebSocketIntegrationTests))] public class WebSocketIntegrationTests(ITestOutputHelper output, ITestContextAccessor testContext) { private readonly CancellationToken _ct = testContext.Current.CancellationToken; diff --git a/test/WireMock.Net.Tests/WebSockets/WireMockServerWebSocketIntegrationTests.cs b/test/WireMock.Net.Tests/WebSockets/WireMockServerWebSocketIntegrationTests.cs index 1d6c7da5..28cf6180 100644 --- a/test/WireMock.Net.Tests/WebSockets/WireMockServerWebSocketIntegrationTests.cs +++ b/test/WireMock.Net.Tests/WebSockets/WireMockServerWebSocketIntegrationTests.cs @@ -10,6 +10,7 @@ using WireMock.Settings; namespace WireMock.Net.Tests.WebSockets; +[Collection(nameof(WireMockServerWebSocketIntegrationTests))] public class WireMockServerWebSocketIntegrationTests(ITestOutputHelper output, ITestContextAccessor testContext) { private readonly CancellationToken _ct = testContext.Current.CancellationToken;