GetPartner

3

tests

0

failures

0

ignored

3.968s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedPartner() 1.311s passed
globalAdmin_withoutAssumedRole_canGetArbitraryPartner() 1.337s passed
normalUser_canNotGetUnrelatedPartner() 1.320s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canGetArbitraryPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "6f121a36-4f2b-4aa5-a0b4-509d9cbb962f",
    "partnerNumber": "P-10001",
    "partnerRel": {
        "uuid": "b1e36130-5656-4c08-809d-cdb009548603",
        "anchor": {
            "uuid": "82731678-fdab-4592-a13a-fa40943260da",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "665ca1f7-55ac-4513-b9c1-012f051fdacd",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "0862f76e-c4a7-45a5-8446-0564eb0ae329",
            "caption": "first contact",
            "postalAddress": {
                "country": "Germany"
            },
            "emailAddresses": {
                "main": "contact-admin@firstcontact.example.com"
            },
            "phoneNumbers": {
                "phone_office": "+49 123 1234567"
            }
        }
    },
    "details": {
        "uuid": "6faa970f-1cdb-4366-8585-006abb49d4b1",
        "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": "6f121a36-4f2b-4aa5-a0b4-509d9cbb962f",
    "partnerNumber": "P-10001",
    "partnerRel": {
        "uuid": "b1e36130-5656-4c08-809d-cdb009548603",
        "anchor": {
            "uuid": "82731678-fdab-4592-a13a-fa40943260da",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "665ca1f7-55ac-4513-b9c1-012f051fdacd",
            "personType": "LEGAL_PERSON",
            "tradeName": "First GmbH",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "0862f76e-c4a7-45a5-8446-0564eb0ae329",
            "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