mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #843] [MERGED] Webhook Templating: Use the transformed URL to create the HttpRequestMessage #1112
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?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/843
Author: @ggradnig
Created: 11/2/2022
Status: ✅ Merged
Merged: 11/5/2022
Merged by: @StefH
Base:
master← Head:webhook-url-transformer-fix📝 Commits (1)
1459981Webhook: Use the transformed URL to create the HttpRequestMessage📊 Changes
2 files changed (+3 additions, -2 deletions)
View changed files
📝
src/WireMock.Net/Http/WebhookSender.cs(+1 -1)📝
test/WireMock.Net.Tests/WireMockServer.WebhookTests.cs(+2 -1)📄 Description
Tried to use this new feature at work, but it called the Webhook URL with the non-transformed URL. I've fixed the code and also fixed the test which was a false positive.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.