Lines 405-411
subtest 'add_guarantor() tests' => sub {
Link Here
|
405 |
'Koha::Exceptions::Patron::Relationship::DuplicateRelationship', |
405 |
'Koha::Exceptions::Patron::Relationship::DuplicateRelationship', |
406 |
'Exception is thrown for duplicated relationship'; |
406 |
'Exception is thrown for duplicated relationship'; |
407 |
}, |
407 |
}, |
408 |
qr{Duplicate entry.* for key 'guarantor_guarantee_idx'} |
408 |
qr{Duplicate entry.* for key '(borrower_relationships\.)?guarantor_guarantee_idx'} |
409 |
); |
409 |
); |
410 |
|
410 |
|
411 |
$schema->storage->txn_rollback; |
411 |
$schema->storage->txn_rollback; |