From b094f1d8ec9949cea7a25b8968c6e124b2ad8c92 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Tue, 14 Jan 2025 15:02:01 +0100 Subject: [PATCH] formatting --- .../HsOfficeDebitorControllerAcceptanceTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorControllerAcceptanceTest.java b/src/test/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorControllerAcceptanceTest.java index 38a6b24f..9d0425c4 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorControllerAcceptanceTest.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorControllerAcceptanceTest.java @@ -703,7 +703,7 @@ class HsOfficeDebitorControllerAcceptanceTest extends ContextBasedTestWithCleanu // @formatter:on RestAssured // @formatter:off - .given() + .given() .header("current-subject", "superuser-alex@hostsharing.net") .header("assumed-roles", givenDebitor.getDebitorRel().getContact().roleId(ADMIN) ) .contentType(ContentType.JSON) @@ -713,12 +713,12 @@ class HsOfficeDebitorControllerAcceptanceTest extends ContextBasedTestWithCleanu } """) .port(port) - .when() - .patch("http://localhost/api/hs/office/debitors/" + givenDebitor.getUuid()) - .then().log().all().assertThat() - .statusCode(403) - .body("message", containsString("ERROR: [403] Subject")) - .body("message", containsString("is not allowed to update hs_office.debitor uuid ")); + .when() + .patch("http://localhost/api/hs/office/debitors/" + givenDebitor.getUuid()) + .then().log().all().assertThat() + .statusCode(403) + .body("message", containsString("ERROR: [403] Subject")) + .body("message", containsString("is not allowed to update hs_office.debitor uuid ")); } }