PostNewSepaMandate

4

tests

0

failures

0

ignored

5.470s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_canNotPostNewSepaMandateWhenDebitorUuidIsMissing() 1.389s passed
globalAdmin_canNotPostNewSepaMandate_ifBankAccountDoesNotExist() 1.293s passed
globalAdmin_canNotPostNewSepaMandate_ifDebitorDoesNotExist() 1.325s passed
globalAdmin_canPostNewSepaMandate() 1.463s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canNotPostNewSepaMandateWhenDebitorUuidIsMissing(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canNotPostNewSepaMandateWhenDebitorUuidIsMissing(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canPostNewSepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
HTTP/1.1 201 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Location: http://localhost:35729/api/hs/office/sepamandates/b3e47ced-df1e-462d-8850-8192ce30dfb7
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 16:40:30 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "b3e47ced-df1e-462d-8850-8192ce30dfb7",
    "debitor": {
        "uuid": "5d6df4d7-2019-4b7b-97dc-2f1a9f3471ff",
        "debitorRel": {
            "uuid": "02cc7ab2-8cc6-4851-8238-2f391fa2f7d7",
            "anchor": {
                "uuid": "f86823d2-1cc6-4790-ac23-c6acd2e03ea5",
                "personType": "INCORPORATED_FIRM",
                "tradeName": "Third OHG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "f86823d2-1cc6-4790-ac23-c6acd2e03ea5",
                "personType": "INCORPORATED_FIRM",
                "tradeName": "Third OHG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "20cced45-0d3a-40c7-b999-0d668dd65d54",
                "caption": "third contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@thirdcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "debitorNumber": "D-1000313",
        "debitorNumberSuffix": "13",
        "partner": {
            "uuid": "bac88e19-e82f-4078-90dc-d13ac9848c03",
            "partnerNumber": "P-10003",
            "partnerRel": {
                "uuid": "fd0593e1-e3ca-4923-a959-bff639edd725",
                "anchor": {
                    "uuid": "cdee26c7-a241-4a3c-99cc-1138917c252b",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "f86823d2-1cc6-4790-ac23-c6acd2e03ea5",
                    "personType": "INCORPORATED_FIRM",
                    "tradeName": "Third OHG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "20cced45-0d3a-40c7-b999-0d668dd65d54",
                    "caption": "third contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@thirdcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "0cc78967-ce92-44b9-be06-8e590c70589f",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "2eebf335-fcd1-47e8-b602-60826874b54a",
            "holder": "Third OHG",
            "iban": "DE02300209000106531065",
            "bic": "CMCIDEDD"
        },
        "defaultPrefix": "thi"
    },
    "bankAccount": {
        "uuid": "789f85d7-f102-4ac5-9028-d79e56aae419",
        "holder": "Fourth eG",
        "iban": "DE02200505501015871393",
        "bic": "HASPDEHH"
    },
    "reference": "temp ref CAT A",
    "agreement": "2020-01-02",
    "validFrom": "2022-10-13",
    "validTo": null
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canPostNewSepaMandate(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canNotPostNewSepaMandate_ifDebitorDoesNotExist(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
HTTP/1.1 400 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 16:40:31 GMT
Connection: close

{
    "timestamp": "2026-08-10 04:40:31",
    "path": "",
    "statusCode": 400,
    "statusPhrase": "Bad Request",
    "message": "ERROR: [400] debitor.uuid='00000000-0000-0000-0000-000000000000' not found or not accessible"
}
nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canNotPostNewSepaMandate_ifDebitorDoesNotExist(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canNotPostNewSepaMandate_ifBankAccountDoesNotExist(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
HTTP/1.1 400 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 16:40:33 GMT
Connection: close

{
    "timestamp": "2026-08-10 04:40:33",
    "path": "",
    "statusCode": 400,
    "statusPhrase": "Bad Request",
    "message": "ERROR: [400] bankAccount.uuid='00000000-0000-0000-0000-000000000000' not found or not accessible"
}
nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canNotPostNewSepaMandate_ifBankAccountDoesNotExist(): TOTAL OBJECT COUNT (after): 210 -> 210