GetRelation

3

tests

0

failures

0

ignored

4.182s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedRelation() 1.353s passed
globalAdmin_withoutAssumedRole_canGetArbitraryRelation() 1.500s passed
normalUser_canNotGetUnrelatedRelation() 1.329s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
contactAdminUser_canGetRelatedRelation(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "e2b5e224-9b29-4f3f-ad7b-497b9649fd09",
    "anchor": {
        "uuid": "cbf4fc6a-b1a2-434d-8795-27fc7d0656d6",
        "personType": "LEGAL_PERSON",
        "tradeName": "First GmbH",
        "salutation": null,
        "title": null,
        "givenName": null,
        "familyName": null
    },
    "holder": {
        "uuid": "0dd00c5d-8f4c-4589-bda8-042ee82acdcc",
        "personType": "NATURAL_PERSON",
        "tradeName": null,
        "salutation": null,
        "title": null,
        "givenName": "Susan",
        "familyName": "Firby"
    },
    "type": "REPRESENTATIVE",
    "mark": null,
    "contact": {
        "uuid": "d9e72a79-7ac8-4857-ab9d-43f951ee9ca2",
        "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": "e2b5e224-9b29-4f3f-ad7b-497b9649fd09",
    "anchor": {
        "uuid": "cbf4fc6a-b1a2-434d-8795-27fc7d0656d6",
        "personType": "LEGAL_PERSON",
        "tradeName": "First GmbH",
        "salutation": null,
        "title": null,
        "givenName": null,
        "familyName": null
    },
    "holder": {
        "uuid": "0dd00c5d-8f4c-4589-bda8-042ee82acdcc",
        "personType": "NATURAL_PERSON",
        "tradeName": null,
        "salutation": null,
        "title": null,
        "givenName": "Susan",
        "familyName": "Firby"
    },
    "type": "REPRESENTATIVE",
    "mark": null,
    "contact": {
        "uuid": "d9e72a79-7ac8-4857-ab9d-43f951ee9ca2",
        "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