GetPartner

3

tests

0

failures

0

ignored

3.958s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedPartner() 1.308s passed
globalAdmin_withoutAssumedRole_canGetArbitraryPartner() 1.353s passed
normalUser_canNotGetUnrelatedPartner() 1.297s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canGetArbitraryPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "7ac47935-8274-4e58-83c7-c8d420551ccb",
    "partnerNumber": "P-10001",
    "partnerRel": {
        "uuid": "f2c3e47d-3c18-4b26-8b4d-9c0fb5e2ef2c",
        "anchor": {
            "uuid": "5ef7d2f4-0e87-4139-afab-fb996912b626",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "8772809e-1366-4f86-a436-d3f7c5238968",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "c16a81d4-d1b1-4e28-8c2e-f3836e415a17",
            "caption": "first contact",
            "postalAddress": {
                "country": "Germany"
            },
            "emailAddresses": {
                "main": "contact-admin@firstcontact.example.com"
            },
            "phoneNumbers": {
                "phone_office": "+49 123 1234567"
            }
        }
    },
    "details": {
        "uuid": "321e6148-4ad9-422f-a3cd-36e4d027f922",
        "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": "7ac47935-8274-4e58-83c7-c8d420551ccb",
    "partnerNumber": "P-10001",
    "partnerRel": {
        "uuid": "f2c3e47d-3c18-4b26-8b4d-9c0fb5e2ef2c",
        "anchor": {
            "uuid": "5ef7d2f4-0e87-4139-afab-fb996912b626",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "8772809e-1366-4f86-a436-d3f7c5238968",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "c16a81d4-d1b1-4e28-8c2e-f3836e415a17",
            "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