From a431cb8ddfafa53ebe5fb0dc04c922c7f18bf0b5 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 Signed-off-by: Jonathan Druart --- 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 a645eb37d9..c5a2cbfd90 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