From 8f07febcc9ab4e693d44d507a91df3319a143ae9 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Fri, 13 Dec 2024 13:32:28 +0100 Subject: [PATCH] fix ?emailAddressRegEx->?emailAddress in Scenario-test --- .../SubscribeExistingPersonAndContactToMailinglist.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/SubscribeExistingPersonAndContactToMailinglist.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/SubscribeExistingPersonAndContactToMailinglist.java index e3f10185..f018c454 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/SubscribeExistingPersonAndContactToMailinglist.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/SubscribeExistingPersonAndContactToMailinglist.java @@ -34,7 +34,7 @@ public class SubscribeExistingPersonAndContactToMailinglist extends UseCase - httpGet("/api/hs/office/contacts?emailAddressRegEx=%{subscriberEMailAddress}") + httpGet("/api/hs/office/contacts?emailAddress=%{subscriberEMailAddress}") .expecting(HttpStatus.OK).expecting(ContentType.JSON), response -> response.expectArrayElements(1).getFromBody("[0].uuid"), "In real scenarios there are most likely multiple results and you have to choose the right one."