mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-12-03 21:44:43 +01:00
Update Transformer functionality to return value instead of string (#858)
This commit is contained in:
1 parent
6b03dfaa8c
commit
9606fee8cb
25 files changed
+639
-506
No files matched your search
@@ -108,7 +108,7 @@ public class ResponseWithHandlebarsJsonPathTests
|
||||
var response = await responseBuilder.ProvideResponseAsync(_mappingMock.Object, request, _settings).ConfigureAwait(false);
|
||||
|
||||
// Assert
|
||||
JObject j = JObject.FromObject(response.Message.BodyData.BodyAsJson);
|
||||
JObject j = JObject.FromObject(response.Message.BodyData.BodyAsJson!);
|
||||
Check.That(j["x"].Value<long>()).Equals(99);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user