AddMembership

1

tests

0

failures

0

ignored

1.353s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_canAddMembership() 1.353s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canAddMembership(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 201 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Location: http://localhost:43147/api/hs/office/memberships/d73a5583-b35a-49c0-9f4e-3e4f1f7e25db
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 13:34:46 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "d73a5583-b35a-49c0-9f4e-3e4f1f7e25db",
    "partner": {
        "uuid": "9c2fb972-05af-4a63-9722-796062a7e0d8",
        "partnerNumber": "P-10001",
        "partnerRel": {
            "uuid": "aa349f3a-4b45-4a74-859a-7a71b6744800",
            "anchor": {
                "uuid": "df8e028d-0e98-46bb-9d4e-1c587d37a6ba",
                "personType": "LEGAL_PERSON",
                "tradeName": "Hostsharing eG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "cbf4fc6a-b1a2-434d-8795-27fc7d0656d6",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "PARTNER",
            "mark": null,
            "contact": {
                "uuid": "d9e72a79-7ac8-4857-ab9d-43f951ee9ca2",
                "caption": "first contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@firstcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "details": {
            "uuid": "47b5f7a8-663a-403a-9873-ece39724171a",
            "registrationOffice": "Hamburg",
            "registrationNumber": "RegNo123456789",
            "birthName": null,
            "birthPlace": null,
            "birthday": null,
            "dateOfDeath": null
        }
    },
    "mainDebitor": null,
    "memberNumber": "M-1000190",
    "memberNumberSuffix": "90",
    "validFrom": "2025-02-13",
    "validTo": null,
    "status": "INVALID",
    "membershipFeeBillable": true
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canAddMembership(): TOTAL OBJECT COUNT (after): 210 -> 210