mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-24 17:28:27 +02:00
ct2
This commit is contained in:
@@ -37,7 +37,7 @@ message HelloReply {
|
||||
|
||||
// Act
|
||||
var api = RestClient.For<IWireMockAdminApi>(server.Url);
|
||||
var getMappingsResult = await api.GetMappingsAsync();
|
||||
var getMappingsResult = await api.GetMappingsAsync(TestContext.Current.CancellationToken);
|
||||
|
||||
await Verify(getMappingsResult, VerifySettings);
|
||||
}
|
||||
@@ -50,7 +50,7 @@ message HelloReply {
|
||||
|
||||
// Act
|
||||
var client = server.CreateClient();
|
||||
var getMappingsResult = await client.GetStringAsync("/__admin/mappings");
|
||||
var getMappingsResult = await client.GetStringAsync("/__admin/mappings", TestContext.Current.CancellationToken);
|
||||
|
||||
await VerifyJson(getMappingsResult, VerifySettings);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user