From 7c2de19d5f1e79b0569ac5665595f33850d453fe Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 9 Apr 2021 15:24:32 +0200 Subject: [PATCH] Bug 28031: Fix patron.t --- t/db_dependent/Koha/Patron.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/Patron.t b/t/db_dependent/Koha/Patron.t index a645eb37d94..c5a2cbfd900 100755 --- a/t/db_dependent/Koha/Patron.t +++ b/t/db_dependent/Koha/Patron.t @@ -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' ); -- 2.20.1