GetContact

3

tests

0

failures

0

ignored

3.903s

duration

100%

successful

Tests

Test Duration Result
contactAdminUser_canGetRelatedContact() 1.307s passed
globalAdmin_withoutAssumedRole_canGetArbitraryContact() 1.339s passed
normalUser_canNotGetUnrelatedContact() 1.257s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canGetArbitraryContact(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "8ca51682-efb1-4c42-bbcd-6028497f871e",
    "caption": "first contact",
    "postalAddress": {
        "country": "Germany"
    },
    "emailAddresses": {
        "main": "contact-admin@firstcontact.example.com"
    },
    "phoneNumbers": {
        "phone_office": "+49 123 1234567"
    }
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_withoutAssumedRole_canGetArbitraryContact(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canNotGetUnrelatedContact(): TOTAL OBJECT COUNT (initial): 210 -> 210

ContextBasedTestWithCleanup.cleanupAndCheckCleanup
normalUser_canNotGetUnrelatedContact(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
contactAdminUser_canGetRelatedContact(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "8ca51682-efb1-4c42-bbcd-6028497f871e",
    "caption": "first contact",
    "postalAddress": {
        "country": "Germany"
    },
    "emailAddresses": {
        "main": "contact-admin@firstcontact.example.com"
    },
    "phoneNumbers": {
        "phone_office": "+49 123 1234567"
    }
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
contactAdminUser_canGetRelatedContact(): TOTAL OBJECT COUNT (after): 210 -> 210