mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-17 06:11:06 +01:00
Add TimesInSameState to MappingModel (#1345)
* Add TimesInSameState to MappingModel * fix tests
This commit is contained in:
1 parent
a5558777e2
commit
faffc56484
11 files changed
+102
-16
No files matched your search
@@ -267,6 +267,7 @@ internal class MappingConverter(MatcherMapper mapper)
|
||||
Scenario = mapping.Scenario,
|
||||
WhenStateIs = mapping.ExecutionConditionState,
|
||||
SetStateTo = mapping.NextState,
|
||||
TimesInSameState = !string.IsNullOrWhiteSpace(mapping.NextState) ? mapping.TimesInSameState : null,
|
||||
Data = mapping.Data,
|
||||
Probability = mapping.Probability,
|
||||
Request = new RequestModel
|
||||
|
||||
Reference in new issue
Block a user