GetPartner

3

tests

0

failures

0

ignored

3.956s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedPartner() 1.327s passed
globalAdmin_withoutAssumedRole_canGetArbitraryPartner() 1.395s passed
normalUser_canNotGetUnrelatedPartner() 1.234s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canGetArbitraryPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "6eed5860-bc66-4a0f-94d4-e5b58f9105a5",
    "partnerNumber": "P-10001",
    "partnerRel": {
        "uuid": "cbc5d524-b29c-4af9-9f05-f69092da8220",
        "anchor": {
            "uuid": "69c868e1-4950-40e0-aacf-85704d6e2c59",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "f7043f17-d7eb-4378-97bf-0e8b6c3a5ddd",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "3a3c060c-0bdc-4e46-97df-c6b1c6195317",
            "caption": "first contact",
            "postalAddress": {
                "country": "Germany"
            },
            "emailAddresses": {
                "main": "contact-admin@firstcontact.example.com"
            },
            "phoneNumbers": {
                "phone_office": "+49 123 1234567"
            }
        }
    },
    "details": {
        "uuid": "683c3331-bac0-4ebd-b2b7-f1e660bc4489",
        "registrationOffice": "Hamburg",
        "registrationNumber": "RegNo123456789",
        "birthName": null,
        "birthPlace": null,
        "birthday": null,
        "dateOfDeath": null
    }
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_withoutAssumedRole_canGetArbitraryPartner(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canNotGetUnrelatedPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210

executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
normalUser_canNotGetUnrelatedPartner(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
contactAdminUser_canGetRelatedPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "6eed5860-bc66-4a0f-94d4-e5b58f9105a5",
    "partnerNumber": "P-10001",
    "partnerRel": {
        "uuid": "cbc5d524-b29c-4af9-9f05-f69092da8220",
        "anchor": {
            "uuid": "69c868e1-4950-40e0-aacf-85704d6e2c59",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "f7043f17-d7eb-4378-97bf-0e8b6c3a5ddd",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "3a3c060c-0bdc-4e46-97df-c6b1c6195317",
            "caption": "first contact",
            "postalAddress": {
                "country": "Germany"
            },
            "emailAddresses": {
                "main": "contact-admin@firstcontact.example.com"
            },
            "phoneNumbers": {
                "phone_office": "+49 123 1234567"
            }
        }
    },
    "details": null
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
contactAdminUser_canGetRelatedPartner(): TOTAL OBJECT COUNT (after): 210 -> 210