AddMembership

1

tests

0

failures

0

ignored

1.346s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_canAddMembership() 1.346s 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:43997/api/hs/office/memberships/1e065ead-7574-4006-9f38-6b638ff174dd
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 16:39:14 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "1e065ead-7574-4006-9f38-6b638ff174dd",
    "partner": {
        "uuid": "6f4db4f4-bb38-4e9e-8350-38cdd83f2f60",
        "partnerNumber": "P-10001",
        "partnerRel": {
            "uuid": "63c7c2e5-f2f4-411e-824d-14e5b206442c",
            "anchor": {
                "uuid": "44e140ca-f710-4650-a391-7dfebef0ac09",
                "personType": "LEGAL_PERSON",
                "tradeName": "Hostsharing eG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "2941408c-00e0-4949-9d51-2a18fa5a742c",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "PARTNER",
            "mark": null,
            "contact": {
                "uuid": "a97abf81-8e91-4a3d-8de2-9575d73b5178",
                "caption": "first contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@firstcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "details": {
            "uuid": "c9ab0e68-946e-4b8e-bb30-3e1d9a7659ee",
            "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