From 85832f7ca14aa130169c74018db9da01bfd99659 Mon Sep 17 00:00:00 2001 From: Mikkel Jakobsen Date: Fri, 19 Jan 2024 22:53:40 +0100 Subject: [PATCH] Change wrong wiremock request.url property The pattern matching should be more precise in order to match the exact query parameters or no query parameters. --- ...n_patronid_fees_v2-bd783b91-b464-4137-9575-b093008866df.json | 2 +- ...without-parameters-ed922f92-46bb-46c6-926f-73678410fcd0.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.docker/wiremock/fbs/mappings/external_agencyid_patron_patronid_fees_v2-bd783b91-b464-4137-9575-b093008866df.json b/.docker/wiremock/fbs/mappings/external_agencyid_patron_patronid_fees_v2-bd783b91-b464-4137-9575-b093008866df.json index b88169000a..8d6d55baad 100644 --- a/.docker/wiremock/fbs/mappings/external_agencyid_patron_patronid_fees_v2-bd783b91-b464-4137-9575-b093008866df.json +++ b/.docker/wiremock/fbs/mappings/external_agencyid_patron_patronid_fees_v2-bd783b91-b464-4137-9575-b093008866df.json @@ -2,7 +2,7 @@ "id" : "bd783b91-b464-4137-9575-b093008866df", "name" : "Fees (v2)", "request" : { - "url" : "/external/agencyid/patron/patronid/fees/v2?includepaid=false&includenonpayable=true", + "urlPattern": "/external/agencyid/patron/patronid/fees/v2\\?includepaid=false&includenonpayable=true$", "method" : "GET" }, "response" : { diff --git a/.docker/wiremock/fbs/mappings/fees-v2-without-parameters-ed922f92-46bb-46c6-926f-73678410fcd0.json b/.docker/wiremock/fbs/mappings/fees-v2-without-parameters-ed922f92-46bb-46c6-926f-73678410fcd0.json index 7924d42adf..cf61206452 100644 --- a/.docker/wiremock/fbs/mappings/fees-v2-without-parameters-ed922f92-46bb-46c6-926f-73678410fcd0.json +++ b/.docker/wiremock/fbs/mappings/fees-v2-without-parameters-ed922f92-46bb-46c6-926f-73678410fcd0.json @@ -2,7 +2,7 @@ "id" : "ed922f92-46bb-46c6-926f-73678410fcd0", "name" : "Fees (v2) (without parameters)", "request" : { - "urlPath" : "/external/agencyid/patron/patronid/fees/v2", + "urlPattern" : "/external/agencyid/patron/patronid/fees/v2$", "method" : "GET" }, "response" : {