mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-22 08:18:26 +02:00
xunit v3
This commit is contained in:
@@ -1,16 +1,9 @@
|
||||
//#if !(NET452 || NET461 || NETCOREAPP3_1)
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using Moq;
|
||||
using VerifyXunit;
|
||||
using WireMock.Net.OpenApiParser;
|
||||
using WireMock.Net.OpenApiParser.Settings;
|
||||
using Xunit;
|
||||
|
||||
namespace WireMock.Net.Tests.OpenApiParser;
|
||||
|
||||
[UsesVerify]
|
||||
public class WireMockOpenApiParserTests
|
||||
{
|
||||
private readonly DateTime _exampleDateTime = new(2024, 6, 19, 12, 34, 56, DateTimeKind.Utc);
|
||||
@@ -46,7 +39,7 @@ public class WireMockOpenApiParserTests
|
||||
var mappings = _sut.FromText(openApiDocument, settings, out _);
|
||||
|
||||
// Verify
|
||||
await Verifier.Verify(mappings);
|
||||
await Verify(mappings);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -64,7 +57,6 @@ public class WireMockOpenApiParserTests
|
||||
var mappings = _sut.FromText(openApiDocument, settings, out _);
|
||||
|
||||
// Verify
|
||||
await Verifier.Verify(mappings);
|
||||
await Verify(mappings);
|
||||
}
|
||||
}
|
||||
//#endif
|
||||
}
|
||||
Reference in New Issue
Block a user