fix previous commit

This commit is contained in:
Timotheus Pokorra 2025-01-16 09:42:07 +01:00 committed by Michael Hoennig
parent 05dfa8456f
commit 07c3c5f9b6

View File

@ -132,8 +132,8 @@ class HsOfficeContactControllerAcceptanceTest extends ContextBasedTestWithCleanu
.body("uuid", isUuidValid()) .body("uuid", isUuidValid())
.body("caption", is("Temp Contact")) .body("caption", is("Temp Contact"))
.body("emailAddresses", is(Map.of("main", "test@example.org"))) .body("emailAddresses", is(Map.of("main", "test@example.org")))
.body("postalAddress", hasEntry("name", "Herr Test Contact") .body("postalAddress", hasEntry("name", "Herr Test Contact"))
.body("postalAddress", hasEntry("street", "Am Schieferbruch 3") .body("postalAddress", hasEntry("street", "Am Schieferbruch 3"))
.header("Location", startsWith("http://localhost")) .header("Location", startsWith("http://localhost"))
.extract().header("Location"); // @formatter:on .extract().header("Location"); // @formatter:on