From b7351f8d31d5964e5e2afd31b79356300ffdc85a Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Sun, 3 Nov 2024 08:53:58 +0100 Subject: [PATCH] fix typo in placeholder --- .../hs/office/scenarios/contact/AmendContactData.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/contact/AmendContactData.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/contact/AmendContactData.java index 0b265789..e6275369 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/contact/AmendContactData.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/contact/AmendContactData.java @@ -16,14 +16,14 @@ public class AmendContactData extends UseCase { @Override protected HttpResponse run() { - obtain("partnerContactuid", () -> + obtain("partnerContactUuid", () -> httpGet("/api/hs/office/relations?relationType=PARTNER&personData=" + uriEncoded("%{partnerName}")) .expecting(OK).expecting(JSON), response -> response.expectArrayElements(1).getFromBody("[0].contact.uuid"), "In production data this query could result in multiple outputs. In that case, you have to find out which is the right one." ); - httpPatch("/api/hs/office/contacts/%{partnerContactuid}", usingJsonBody(""" + httpPatch("/api/hs/office/contacts/%{partnerContactUuid}", usingJsonBody(""" { "caption": ${newContactCaption???}, "postalAddress": ${newPostalAddress???},