mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-05-28 02:39:16 +02:00
new projectx
This commit is contained in:
@@ -5,12 +5,14 @@ using System.Text;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using WireMock.Matchers;
|
||||
using WireMock.Net.Tests.WebSockets;
|
||||
using WireMock.RequestBuilders;
|
||||
using WireMock.ResponseBuilders;
|
||||
using WireMock.Server;
|
||||
|
||||
namespace WireMock.Net.Tests.Pact;
|
||||
|
||||
[Collection(nameof(PactTests))]
|
||||
public class PactTests
|
||||
{
|
||||
[Fact]
|
||||
|
||||
@@ -750,6 +750,8 @@ public class WebSocketIntegrationTests(ITestOutputHelper output, ITestContextAcc
|
||||
{
|
||||
await client.SendAsync(testMessage, cancellationToken: _ct);
|
||||
|
||||
await Task.Delay(500, _ct);
|
||||
|
||||
var received = await client.ReceiveAsTextAsync(cancellationToken: _ct);
|
||||
received.Should().Be(testMessage, $"message '{testMessage}' should be proxied and echoed back");
|
||||
}
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\WireMock.Net.AwesomeAssertions\WireMock.Net.AwesomeAssertions.csproj" />
|
||||
<ProjectReference Include="..\..\src\WireMock.Net.Matchers.CSharpCode\WireMock.Net.Matchers.CSharpCode.csproj" />
|
||||
<ProjectReference Include="..\..\src\WireMock.Net.Matchers.SystemTextJsonPath\WireMock.Net.Matchers.SystemTextJsonPath.csproj" />
|
||||
<ProjectReference Include="..\..\src\WireMock.Net.RestClient.AwesomeAssertions\WireMock.Net.RestClient.AwesomeAssertions.csproj" />
|
||||
<ProjectReference Include="..\..\src\WireMock.Net.RestClient\WireMock.Net.RestClient.csproj" />
|
||||
<ProjectReference Include="..\..\src\WireMock.Net.xUnit.v3\WireMock.Net.xUnit.v3.csproj" />
|
||||
|
||||
Reference in New Issue
Block a user