Bug 28031: Fix patron.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-04-09 15:24:32 +02:00
parent 7b9b1b0e2a
commit a431cb8ddf

View file

@ -647,7 +647,7 @@ subtest 'extended_attributes' => sub {
'Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute',
'Exception thrown on missing mandatory attribute type';
is( $@->value, $attribute_type_1->code, 'Exception parameters are correct' );
is( $@->type, $attribute_type_1->code, 'Exception parameters are correct' );
is( $patron->extended_attributes->count, 0, 'Extended attributes storing rolled back' );