GetRelation

3

tests

0

failures

0

ignored

3.995s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedRelation() 1.391s passed
globalAdmin_withoutAssumedRole_canGetArbitraryRelation() 1.268s passed
normalUser_canNotGetUnrelatedRelation() 1.336s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
contactAdminUser_canGetRelatedRelation(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "0d0fdb38-17d5-4180-9cfb-57bd6de451ee",
    "anchor": {
        "uuid": "2941408c-00e0-4949-9d51-2a18fa5a742c",
        "personType": "LEGAL_PERSON",
        "tradeName": "First GmbH",
        "salutation": null,
        "title": null,
        "givenName": null,
        "familyName": null
    },
    "holder": {
        "uuid": "10050754-3a9a-439b-b7a0-29bd5b467a47",
        "personType": "NATURAL_PERSON",
        "tradeName": null,
        "salutation": null,
        "title": null,
        "givenName": "Susan",
        "familyName": "Firby"
    },
    "type": "REPRESENTATIVE",
    "mark": null,
    "contact": {
        "uuid": "a97abf81-8e91-4a3d-8de2-9575d73b5178",
        "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": "0d0fdb38-17d5-4180-9cfb-57bd6de451ee",
    "anchor": {
        "uuid": "2941408c-00e0-4949-9d51-2a18fa5a742c",
        "personType": "LEGAL_PERSON",
        "tradeName": "First GmbH",
        "salutation": null,
        "title": null,
        "givenName": null,
        "familyName": null
    },
    "holder": {
        "uuid": "10050754-3a9a-439b-b7a0-29bd5b467a47",
        "personType": "NATURAL_PERSON",
        "tradeName": null,
        "salutation": null,
        "title": null,
        "givenName": "Susan",
        "familyName": "Firby"
    },
    "type": "REPRESENTATIVE",
    "mark": null,
    "contact": {
        "uuid": "a97abf81-8e91-4a3d-8de2-9575d73b5178",
        "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