From 135615c597d7e1cd42ddf7353c6176ead7a50298 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Sun, 23 Jun 2024 16:42:32 +0200 Subject: [PATCH] test(fossid-webapp): Ensure to use unique IDs per stub mapping This is a preparation for upgrading to WireMock 3.7.0. See [1]. [1]: https://github.com/wiremock/wiremock/issues/2734 Signed-off-by: Sebastian Schuberth --- .../mappings/apiphp-list_scan_for_project_not_empty.json | 4 ++-- .../mappings/apiphp-list_scan_ignored_snippets.json | 4 ++-- .../return-type/mappings/apiphp-list_scan_snippets.json | 4 ++-- .../return-type/mappings/apiphp-unmark_as_identified.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_for_project_not_empty.json b/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_for_project_not_empty.json index 37c39100ac0c5..f58465a5c2e13 100644 --- a/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_for_project_not_empty.json +++ b/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_for_project_not_empty.json @@ -1,5 +1,5 @@ { - "id" : "4680754e-1daa-4d1e-84ff-cfba5a66715d", + "id" : "aeeba33b-46a2-44c9-ad1d-ad3bee7b497b", "name" : "apiphp", "request" : { "url" : "/api.php", @@ -20,7 +20,7 @@ "Vary" : "Accept-Encoding" } }, - "uuid" : "4680754e-1daa-4d1e-84ff-cfba5a66715d", + "uuid" : "aeeba33b-46a2-44c9-ad1d-ad3bee7b497b", "persistent" : true, "insertionIndex" : 1 } diff --git a/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_ignored_snippets.json b/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_ignored_snippets.json index 24442751a2a98..72d92c0ef3cdd 100644 --- a/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_ignored_snippets.json +++ b/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_ignored_snippets.json @@ -1,5 +1,5 @@ { - "id" : "892411ab-7982-4496-8394-e351e3e01549", + "id" : "33bff0ba-e908-4876-9d40-4f96a4ea82be", "name" : "apiphp", "request" : { "url" : "/api.php", @@ -20,7 +20,7 @@ "Vary" : "Accept-Encoding" } }, - "uuid" : "892411ab-7982-4496-8394-e351e3e01549", + "uuid" : "33bff0ba-e908-4876-9d40-4f96a4ea82be", "persistent" : true, "insertionIndex" : 1 } diff --git a/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_snippets.json b/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_snippets.json index b18d3dd4e8af0..ff2176a95a74b 100644 --- a/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_snippets.json +++ b/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-list_scan_snippets.json @@ -1,5 +1,5 @@ { - "id" : "892411ab-7982-4496-8394-e351e3e01549", + "id" : "8faaaf61-4971-4ced-a807-621ddc1c0901", "name" : "apiphp", "request" : { "url" : "/api.php", @@ -20,7 +20,7 @@ "Vary" : "Accept-Encoding" } }, - "uuid" : "892411ab-7982-4496-8394-e351e3e01549", + "uuid" : "8faaaf61-4971-4ced-a807-621ddc1c0901", "persistent" : true, "insertionIndex" : 1 } diff --git a/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-unmark_as_identified.json b/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-unmark_as_identified.json index d2726ba0f2f61..5ea51dbfa7772 100644 --- a/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-unmark_as_identified.json +++ b/clients/fossid-webapp/src/test/assets/return-type/mappings/apiphp-unmark_as_identified.json @@ -1,5 +1,5 @@ { - "id" : "86626b21-c67d-44d8-9861-f06283e717f3", + "id" : "6565bf4c-454b-4b11-98c0-7a016a6dbebe", "name" : "apiphp", "request" : { "url" : "/api.php", @@ -20,7 +20,7 @@ "Vary" : "Accept-Encoding" } }, - "uuid" : "86626b21-c67d-44d8-9861-f06283e717f3", + "uuid" : "6565bf4c-454b-4b11-98c0-7a016a6dbebe", "persistent" : true, "insertionIndex" : 1 }