mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-27 11:17:31 +02:00
Calling Reset also resets the scenarios (#1031)
* Calling Reset also resets the scenarios * .
This commit is contained in:
@@ -134,7 +134,7 @@ public interface IWireMockServer : IDisposable
|
|||||||
void RemoveAuthentication();
|
void RemoveAuthentication();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Resets LogEntries and Mappings.
|
/// Resets LogEntries, Mappings and Scenarios.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
void Reset();
|
void Reset();
|
||||||
|
|
||||||
|
|||||||
@@ -427,6 +427,8 @@ public partial class WireMockServer : IWireMockServer
|
|||||||
{
|
{
|
||||||
ResetLogEntries();
|
ResetLogEntries();
|
||||||
|
|
||||||
|
ResetScenarios();
|
||||||
|
|
||||||
ResetMappings();
|
ResetMappings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user