From 31eefe8e6854a8577173bc3cfe7cf3d25bb79c41 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Thu, 26 Sep 2024 10:26:16 +0200 Subject: [PATCH] Updated Using WireMock.Net.Testcontainers (markdown) --- Using-WireMock.Net.Testcontainers.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Using-WireMock.Net.Testcontainers.md b/Using-WireMock.Net.Testcontainers.md index d807850..840362d 100644 --- a/Using-WireMock.Net.Testcontainers.md +++ b/Using-WireMock.Net.Testcontainers.md @@ -27,6 +27,7 @@ The following builder methods are available for the `WireMockContainerBuilder`: | `WithMappings` | `.WithMappings(@"C:\example\\mappings")` | Specifies the path for the (static) mapping json files. | `WithWatchStaticMappings` | `.WithWatchStaticMappings(true)` | Watch the static mapping files + folder for changes when running. | `WithAdminUserNameAndPassword` | `.WithAdminUserNameAndPassword("x", "y")` | Set the admin username. and password for the container (basic authentication). +| `WithImage` | `.WithImage("sheyenrath/wiremock.net-alpine:1.6.4")` | You can provide a specific image + tag. ### Create a Admin Client Use the following code to get a [RestEase Admin Client](https://github.com/WireMock-Net/WireMock.Net/wiki/Admin-API-Reference#client-api) for this running container instance.