From fa82da9b574707382c3187487785c7b42b45f515 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 30 Jan 2023 12:01:41 -0300 Subject: [PATCH] Bug 29021: (QA follow-up) Remove useless warnings Signed-off-by: Tomas Cohen Arazi (cherry picked from commit bcaf68b51fe73dfe0b38896c0f241725edbcb01b) Signed-off-by: Jacob O'Mara (cherry picked from commit 6a4f0e3c591b43bc9e2ed5b12cf620413913ec9f) Signed-off-by: Lucas Gass --- t/db_dependent/Koha/Account/Line.t | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/t/db_dependent/Koha/Account/Line.t b/t/db_dependent/Koha/Account/Line.t index ccf4b21974..2053982e1f 100755 --- a/t/db_dependent/Koha/Account/Line.t +++ b/t/db_dependent/Koha/Account/Line.t @@ -501,9 +501,9 @@ subtest 'Renewal related tests' => sub { $schema->storage->txn_begin; my $patron = $builder->build_object( { class => 'Koha::Patrons' } ); - my $staff = $builder->build_object( { class => 'Koha::Patrons' } ); - my $item = $builder->build_object({ class => 'Koha::Items' }); - my $issue = $builder->build_object( + my $staff = $builder->build_object( { class => 'Koha::Patrons' } ); + my $item = $builder->build_sample_item; + my $issue = $builder->build_object( { class => 'Koha::Checkouts', value => { @@ -522,6 +522,7 @@ subtest 'Renewal related tests' => sub { debit_type_code => "OVERDUE", status => "UNRETURNED", amountoutstanding => 0, + amount => 0, interface => 'commandline', })->store; -- 2.39.5