GetRelation

3

tests

0

failures

0

ignored

3.870s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedRelation() 1.271s passed
globalAdmin_withoutAssumedRole_canGetArbitraryRelation() 1.305s passed
normalUser_canNotGetUnrelatedRelation() 1.294s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
contactAdminUser_canGetRelatedRelation(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "22fb0452-a774-4a05-a480-be255b7fd542",
    "anchor": {
        "uuid": "51aa8be4-097b-4007-863d-136f7b9525c1",
        "personType": "LEGAL_PERSON",
        "tradeName": "First GmbH",
        "salutation": null,
        "title": null,
        "givenName": null,
        "familyName": null
    },
    "holder": {
        "uuid": "66d06edc-90d2-4e8e-aa5a-5e0ecceff227",
        "personType": "NATURAL_PERSON",
        "tradeName": null,
        "salutation": null,
        "title": null,
        "givenName": "Susan",
        "familyName": "Firby"
    },
    "type": "REPRESENTATIVE",
    "mark": null,
    "contact": {
        "uuid": "eafb9bdb-bf05-463b-bd03-dd3cae11aa69",
        "caption": "first contact",
        "postalAddress": {
            "country": "Germany"
        },
        "emailAddresses": {
            "main": "contact-admin@firstcontact.example.com"
        },
        "phoneNumbers": {
            "phone_office": "+49 123 1234567"
        }
    }
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
contactAdminUser_canGetRelatedRelation(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canNotGetUnrelatedRelation(): TOTAL OBJECT COUNT (initial): 210 -> 210

ContextBasedTestWithCleanup.cleanupAndCheckCleanup
normalUser_canNotGetUnrelatedRelation(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canGetArbitraryRelation(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "22fb0452-a774-4a05-a480-be255b7fd542",
    "anchor": {
        "uuid": "51aa8be4-097b-4007-863d-136f7b9525c1",
        "personType": "LEGAL_PERSON",
        "tradeName": "First GmbH",
        "salutation": null,
        "title": null,
        "givenName": null,
        "familyName": null
    },
    "holder": {
        "uuid": "66d06edc-90d2-4e8e-aa5a-5e0ecceff227",
        "personType": "NATURAL_PERSON",
        "tradeName": null,
        "salutation": null,
        "title": null,
        "givenName": "Susan",
        "familyName": "Firby"
    },
    "type": "REPRESENTATIVE",
    "mark": null,
    "contact": {
        "uuid": "eafb9bdb-bf05-463b-bd03-dd3cae11aa69",
        "caption": "first contact",
        "postalAddress": {
            "country": "Germany"
        },
        "emailAddresses": {
            "main": "contact-admin@firstcontact.example.com"
        },
        "phoneNumbers": {
            "phone_office": "+49 123 1234567"
        }
    }
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_withoutAssumedRole_canGetArbitraryRelation(): TOTAL OBJECT COUNT (after): 210 -> 210