GetPartner

3

tests

0

failures

0

ignored

4.008s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedPartner() 1.360s passed
globalAdmin_withoutAssumedRole_canGetArbitraryPartner() 1.327s passed
normalUser_canNotGetUnrelatedPartner() 1.321s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canGetArbitraryPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "eef8302d-5afc-48d7-827a-df19a27350f5",
    "partnerNumber": "P-10001",
    "partnerRel": {
        "uuid": "a8b42ad0-8fae-48b1-afd6-01e157734ac9",
        "anchor": {
            "uuid": "9ee6188c-3e59-4b98-8aa3-5a6a81ffaac3",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "e6f31878-6d0e-4d5f-abdd-a782ba4fece9",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "8ca51682-efb1-4c42-bbcd-6028497f871e",
            "caption": "first contact",
            "postalAddress": {
                "country": "Germany"
            },
            "emailAddresses": {
                "main": "contact-admin@firstcontact.example.com"
            },
            "phoneNumbers": {
                "phone_office": "+49 123 1234567"
            }
        }
    },
    "details": {
        "uuid": "ab9a9eb4-0732-47a7-a3b4-b1a8cf161d2d",
        "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": "eef8302d-5afc-48d7-827a-df19a27350f5",
    "partnerNumber": "P-10001",
    "partnerRel": {
        "uuid": "a8b42ad0-8fae-48b1-afd6-01e157734ac9",
        "anchor": {
            "uuid": "9ee6188c-3e59-4b98-8aa3-5a6a81ffaac3",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "e6f31878-6d0e-4d5f-abdd-a782ba4fece9",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "8ca51682-efb1-4c42-bbcd-6028497f871e",
            "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