From 913b130ee4d7efdf6cff0bbf81136d69ffded4a7 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Wed, 20 Feb 2019 13:05:38 +0000 Subject: [PATCH] Bug 21756: (QA follow-up) Fix Circulation.t Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: Nick Clemens --- t/db_dependent/Circulation.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t index cea92ab512..39c5dc74a6 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -688,7 +688,7 @@ my ( $reused_itemnumber_1, $reused_itemnumber_2 ); item_id => $item_to_auto_renew->{itemnumber}, description => "Some fines" } - )->accounttype->('F')->store; + )->accounttype('F')->store; ( $renewokay, $error ) = CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); is( $renewokay, 0, 'Do not renew, renewal is automatic' ); @@ -701,7 +701,7 @@ my ( $reused_itemnumber_1, $reused_itemnumber_2 ); item_id => $item_to_auto_renew->{itemnumber}, description => "Some fines" } - )->accounttype->('F')->store; + )->accounttype('F')->store; ( $renewokay, $error ) = CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); is( $renewokay, 0, 'Do not renew, renewal is automatic' ); @@ -714,7 +714,7 @@ my ( $reused_itemnumber_1, $reused_itemnumber_2 ); item_id => $item_to_auto_renew->{itemnumber}, description => "Some fines" } - )->accounttype->('F')->store; + )->accounttype('F')->store; ( $renewokay, $error ) = CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); is( $renewokay, 0, 'Do not renew, renewal is automatic' ); -- 2.20.1