From 7528641d9884e2b07f738573bfe461d653aef770 Mon Sep 17 00:00:00 2001 From: Artem Derevnjuk Date: Tue, 6 Dec 2022 16:04:42 +0400 Subject: [PATCH] test(repeater): make tests os agnostic closes #85 --- .../SecTester.Repeater.Tests/Runners/HttpRequestRunnerTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/SecTester.Repeater.Tests/Runners/HttpRequestRunnerTests.cs b/test/SecTester.Repeater.Tests/Runners/HttpRequestRunnerTests.cs index d25ae84..6902c99 100644 --- a/test/SecTester.Repeater.Tests/Runners/HttpRequestRunnerTests.cs +++ b/test/SecTester.Repeater.Tests/Runners/HttpRequestRunnerTests.cs @@ -182,8 +182,7 @@ public async Task Run_TcpException_ReturnsResponse() // assert result.Should().BeEquivalentTo(new { - Message = "Connection refused", ErrorCode = "ConnectionRefused" - }); + }, options => options.Using(ctx => ctx.Subject.Should().BeOfType()).When(info => info.Path.EndsWith("Message"))); } }