mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-24 17:28:27 +02:00
WireMock.Net.Testcontainers: implement watching the static mapping folder for changes (#1189)
* WireMock.Net.Testcontainers: implement watching the static mapping files + folder for changes * ReloadStaticMappings * fix * . * . * . * . * . * . * . * CopyAsync * <VersionPrefix>1.6.7-preview-02</VersionPrefix> * <VersionPrefix>1.6.7-preview-03</VersionPrefix>
This commit is contained in:
@@ -17,7 +17,7 @@ public class WireMockServerArgumentsTests
|
||||
args.AdminUsername.Should().BeNull();
|
||||
args.AdminPassword.Should().BeNull();
|
||||
args.ReadStaticMappings.Should().BeFalse();
|
||||
args.WithWatchStaticMappings.Should().BeFalse();
|
||||
args.WatchStaticMappings.Should().BeFalse();
|
||||
args.MappingsPath.Should().BeNull();
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ public class WireMockServerArgumentsTests
|
||||
// Arrange
|
||||
var args = new WireMockServerArguments
|
||||
{
|
||||
WithWatchStaticMappings = true,
|
||||
WatchStaticMappings = true,
|
||||
ReadStaticMappings = readStaticMappings
|
||||
};
|
||||
|
||||
@@ -104,7 +104,7 @@ public class WireMockServerArgumentsTests
|
||||
// Arrange
|
||||
var args = new WireMockServerArguments
|
||||
{
|
||||
WithWatchStaticMappings = false
|
||||
WatchStaticMappings = false
|
||||
};
|
||||
|
||||
// Act
|
||||
|
||||
@@ -63,7 +63,7 @@ public class WireMockServerBuilderExtensionsTests
|
||||
AdminPassword = password,
|
||||
AdminUsername = username,
|
||||
ReadStaticMappings = true,
|
||||
WithWatchStaticMappings = false,
|
||||
WatchStaticMappings = false,
|
||||
MappingsPath = null,
|
||||
HttpPort = port
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user