mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Reset resets only mappings and logentries, not scenarios. #558
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MJLHThomassenHadrian on GitHub (Dec 7, 2023).
Originally assigned to: @StefH on GitHub.
Describe the bug
Calling
WireMockServer.Reset()only resets Mappings and LogEntries, not scenarios. Since there are 3 methods for resetting them all seeprately (WireMockServer.ResetLogEntries(),WireMockServer.ResetMappings()andWireMockServer.ResetScenarios()) i would expetReset()to reset everything, not just 2 of the 3.Expected behavior:
Scenarios are also reset.
@StefH commented on GitHub (Dec 7, 2023):
good point
@StefH commented on GitHub (Dec 7, 2023):
https://github.com/WireMock-Net/WireMock.Net/pull/1031
@MJLHThomassenHadrian commented on GitHub (Dec 11, 2023):
@StefH thanks!