Bug 20443: Remove UpdateBorrowerAttribute and SetBorrowerAttributes
[koha.git] / t / db_dependent / Koha / Patron / Modifications.t
index ce279ad..3378ccd 100755 (executable)
@@ -174,7 +174,7 @@ subtest 'approve tests' => sub {
     );
     is( $patron->firstname, 'Kyle',
         'Patron modification set the right firstname' );
-    my $patron_attributes = $patron->get_extended_attributes;
+    my $patron_attributes = $patron->extended_attributes;
     my $attribute_1 = $patron_attributes->next;
     is( $attribute_1->code,
         'CODE_1', 'Patron modification correctly saved attribute code' );