Calling Reset also resets the scenarios (#1031)

* Calling Reset also resets the scenarios

* .
This commit is contained in:
Stef Heyenrath
2023-12-07 16:03:37 +01:00
committed by GitHub
parent 1174acce6e
commit c6c7ba13b4
2 changed files with 3 additions and 1 deletions

View File

@@ -134,7 +134,7 @@ public interface IWireMockServer : IDisposable
void RemoveAuthentication();
/// <summary>
/// Resets LogEntries and Mappings.
/// Resets LogEntries, Mappings and Scenarios.
/// </summary>
void Reset();

View File

@@ -427,6 +427,8 @@ public partial class WireMockServer : IWireMockServer
{
ResetLogEntries();
ResetScenarios();
ResetMappings();
}