From 5977eaf8285742ad11ede3c5d600a213509f27eb Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Sun, 3 Nov 2024 08:54:52 +0100 Subject: [PATCH] fix grammar in hint text --- .../hsadminng/hs/office/scenarios/contact/AmendContactData.java | 2 +- .../hs/office/scenarios/contact/ReplaceContactData.java | 2 +- .../scenarios/debitor/CreateExternalDebitorForPartner.java | 2 +- .../office/scenarios/debitor/CreateSelfDebitorForPartner.java | 2 +- .../office/scenarios/partner/AddOperationsContactToPartner.java | 2 +- .../hs/office/scenarios/partner/AddRepresentativeToPartner.java | 2 +- .../subscription/RemoveOperationsContactFromPartner.java | 2 +- .../office/scenarios/subscription/SubscribeToMailinglist.java | 2 +- .../scenarios/subscription/UnsubscribeFromMailinglist.java | 2 +- 9 files changed, 9 insertions(+), 9 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 e6275369..273ab663 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 @@ -20,7 +20,7 @@ public class AmendContactData extends UseCase { 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." + "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/%{partnerContactUuid}", usingJsonBody(""" diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/contact/ReplaceContactData.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/contact/ReplaceContactData.java index 4bfe91eb..529885c8 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/contact/ReplaceContactData.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/contact/ReplaceContactData.java @@ -20,7 +20,7 @@ public class ReplaceContactData extends UseCase { httpGet("/api/hs/office/relations?relationType=PARTNER&personData=" + uriEncoded("%{partnerName}")) .expecting(OK).expecting(JSON), response -> response.expectArrayElements(1).getFromBody("[0].uuid"), - "In production data this query could result in multiple outputs. In that case, you have to find out which is the right one." + "In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one." ); obtain("Contact: %{newContactCaption}", () -> diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/debitor/CreateExternalDebitorForPartner.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/debitor/CreateExternalDebitorForPartner.java index e9afdcc2..194d4513 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/debitor/CreateExternalDebitorForPartner.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/debitor/CreateExternalDebitorForPartner.java @@ -26,7 +26,7 @@ public class CreateExternalDebitorForPartner extends UseCase response.expectArrayElements(1).getFromBody("[0].uuid"), - "In production data this query could result in multiple outputs. In that case, you have to find out which is the right one." + "In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one." ); obtain("BankAccount: Billing GmbH - refund bank account", () -> diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/debitor/CreateSelfDebitorForPartner.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/debitor/CreateSelfDebitorForPartner.java index d815bc61..fc16adb3 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/debitor/CreateSelfDebitorForPartner.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/debitor/CreateSelfDebitorForPartner.java @@ -19,7 +19,7 @@ public class CreateSelfDebitorForPartner extends UseCase response.expectArrayElements(1).getFromBody("[0].holder.uuid"), - "In production data this query could result in multiple outputs. In that case, you have to find out which is the right one." + "In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one." ); obtain("BankAccount: Test AG - refund bank account", () -> diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/partner/AddOperationsContactToPartner.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/partner/AddOperationsContactToPartner.java index 6e41ce76..0f9a9aa5 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/partner/AddOperationsContactToPartner.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/partner/AddOperationsContactToPartner.java @@ -22,7 +22,7 @@ public class AddOperationsContactToPartner extends UseCase response.expectArrayElements(1).getFromBody("[0].uuid"), - "In production data this query could result in multiple outputs. In that case, you have to find out which is the right one." + "In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one." ); obtain("Person: %{operationsContactGivenName} %{operationsContactFamilyName}", () -> diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/partner/AddRepresentativeToPartner.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/partner/AddRepresentativeToPartner.java index cb5c8136..1e4dd156 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/partner/AddRepresentativeToPartner.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/partner/AddRepresentativeToPartner.java @@ -22,7 +22,7 @@ public class AddRepresentativeToPartner extends UseCase response.expectArrayElements(1).getFromBody("[0].uuid"), - "In production data this query could result in multiple outputs. In that case, you have to find out which is the right one." + "In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one." ); obtain("Person: %{representativeGivenName} %{representativeFamilyName}", () -> diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/RemoveOperationsContactFromPartner.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/RemoveOperationsContactFromPartner.java index 6b12f2e6..08f3f53d 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/RemoveOperationsContactFromPartner.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/RemoveOperationsContactFromPartner.java @@ -20,7 +20,7 @@ public class RemoveOperationsContactFromPartner extends UseCase response.expectArrayElements(1).getFromBody("[0].uuid"), - "In production data this query could result in multiple outputs. In that case, you have to find out which is the right one." + "In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one." ); return httpDelete("/api/hs/office/relations/&{Operations-Contact: %{operationsContactPerson}}") diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/SubscribeToMailinglist.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/SubscribeToMailinglist.java index 3c84603f..3e4ae74b 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/SubscribeToMailinglist.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/SubscribeToMailinglist.java @@ -22,7 +22,7 @@ public class SubscribeToMailinglist extends UseCase { httpGet("/api/hs/office/persons?name=" + uriEncoded("%{partnerPersonTradeName}")) .expecting(OK).expecting(JSON), response -> response.expectArrayElements(1).getFromBody("[0].uuid"), - "In production data this query could result in multiple outputs. In that case, you have to find out which is the right one." + "In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one." ); obtain("Person: %{subscriberGivenName} %{subscriberFamilyName}", () -> diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/UnsubscribeFromMailinglist.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/UnsubscribeFromMailinglist.java index 36e1da24..6d2b7668 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/UnsubscribeFromMailinglist.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/subscription/UnsubscribeFromMailinglist.java @@ -22,7 +22,7 @@ public class UnsubscribeFromMailinglist extends UseCase response.expectArrayElements(1).getFromBody("[0].uuid"), - "In production data this query could result in multiple outputs. In that case, you have to find out which is the right one." + "In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one." ); return httpDelete("/api/hs/office/relations/&{Subscription: %{subscriberEMailAddress}}")