|
Lines 647-653
subtest 'extended_attributes' => sub {
Link Here
|
| 647 |
'Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute', |
647 |
'Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute', |
| 648 |
'Exception thrown on missing mandatory attribute type'; |
648 |
'Exception thrown on missing mandatory attribute type'; |
| 649 |
|
649 |
|
| 650 |
is( $@->value, $attribute_type_1->code, 'Exception parameters are correct' ); |
650 |
is( $@->type, $attribute_type_1->code, 'Exception parameters are correct' ); |
| 651 |
|
651 |
|
| 652 |
is( $patron->extended_attributes->count, 0, 'Extended attributes storing rolled back' ); |
652 |
is( $patron->extended_attributes->count, 0, 'Extended attributes storing rolled back' ); |
| 653 |
|
653 |
|
| 654 |
- |
|
|