Lines 1440-1446
subtest '->store' => sub {
Link Here
|
1440 |
throws_ok |
1440 |
throws_ok |
1441 |
{ $patron_2->userid($patron_1->userid)->store; } |
1441 |
{ $patron_2->userid($patron_1->userid)->store; } |
1442 |
'Koha::Exceptions::Object::DuplicateID', |
1442 |
'Koha::Exceptions::Object::DuplicateID', |
1443 |
'AddMember raises an exception on invalid categorycode'; |
1443 |
'Koha::Patron->store raises an exception on duplicate ID'; |
1444 |
|
1444 |
|
1445 |
$schema->storage->dbh->{PrintError} = $print_error; |
1445 |
$schema->storage->dbh->{PrintError} = $print_error; |
1446 |
$schema->storage->txn_rollback; |
1446 |
$schema->storage->txn_rollback; |
1447 |
- |
|
|