GetRelation

3

tests

0

failures

0

ignored

3.728s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedRelation() 1.256s passed
globalAdmin_withoutAssumedRole_canGetArbitraryRelation() 1.234s passed
normalUser_canNotGetUnrelatedRelation() 1.238s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
contactAdminUser_canGetRelatedRelation(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "8804b5d8-141d-4b0f-aaed-d4aab74eb25a",
    "anchor": {
        "uuid": "f737d879-51f9-4f03-b3f5-e5f4a12fab73",
        "personType": "LEGAL_PERSON",
        "tradeName": "First GmbH",
        "salutation": null,
        "title": null,
        "givenName": null,
        "familyName": null
    },
    "holder": {
        "uuid": "25617d51-3d64-4e3c-be8a-487e2f582a18",
        "personType": "NATURAL_PERSON",
        "tradeName": null,
        "salutation": null,
        "title": null,
        "givenName": "Susan",
        "familyName": "Firby"
    },
    "type": "REPRESENTATIVE",
    "mark": null,
    "contact": {
        "uuid": "b5a02c46-485c-4cf7-8ecc-b2ff3a00aa93",
        "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": "8804b5d8-141d-4b0f-aaed-d4aab74eb25a",
    "anchor": {
        "uuid": "f737d879-51f9-4f03-b3f5-e5f4a12fab73",
        "personType": "LEGAL_PERSON",
        "tradeName": "First GmbH",
        "salutation": null,
        "title": null,
        "givenName": null,
        "familyName": null
    },
    "holder": {
        "uuid": "25617d51-3d64-4e3c-be8a-487e2f582a18",
        "personType": "NATURAL_PERSON",
        "tradeName": null,
        "salutation": null,
        "title": null,
        "givenName": "Susan",
        "familyName": "Firby"
    },
    "type": "REPRESENTATIVE",
    "mark": null,
    "contact": {
        "uuid": "b5a02c46-485c-4cf7-8ecc-b2ff3a00aa93",
        "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