From 07c3c5f9b601fa32952d8e61dc99ade0a4e3e526 Mon Sep 17 00:00:00 2001 From: Timotheus Pokorra Date: Thu, 16 Jan 2025 09:42:07 +0100 Subject: [PATCH] fix previous commit --- .../contact/HsOfficeContactControllerAcceptanceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/contact/HsOfficeContactControllerAcceptanceTest.java b/src/test/java/net/hostsharing/hsadminng/hs/office/contact/HsOfficeContactControllerAcceptanceTest.java index f683f7a0..da6a380f 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/contact/HsOfficeContactControllerAcceptanceTest.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/contact/HsOfficeContactControllerAcceptanceTest.java @@ -132,8 +132,8 @@ class HsOfficeContactControllerAcceptanceTest extends ContextBasedTestWithCleanu .body("uuid", isUuidValid()) .body("caption", is("Temp Contact")) .body("emailAddresses", is(Map.of("main", "test@example.org"))) - .body("postalAddress", hasEntry("name", "Herr Test Contact") - .body("postalAddress", hasEntry("street", "Am Schieferbruch 3") + .body("postalAddress", hasEntry("name", "Herr Test Contact")) + .body("postalAddress", hasEntry("street", "Am Schieferbruch 3")) .header("Location", startsWith("http://localhost")) .extract().header("Location"); // @formatter:on