Bug 8338: (QA follow-up) Fix perlcritic error
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 22 Jun 2020 07:49:15 +0000 (08:49 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Jul 2020 14:08:22 +0000 (16:08 +0200)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

t/db_dependent/Circulation.t

index 263640e..0c351d3 100755 (executable)
@@ -2651,7 +2651,7 @@ subtest 'AddReturn | is_overdue' => sub {
                 issue_id       => $issue->id
             }
         );
-        my $accountline = $lines->next;
+        $accountline = $lines->next;
         is( $accountline->amountoutstanding + 0,
             0, 'Partially paid fee amount outstanding was reduced to 0' );
         is( $accountline->amount + 0,