From bcaf68b51fe73dfe0b38896c0f241725edbcb01b 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 --- 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 c7c7b34213..b5926b4f70 100755 --- a/t/db_dependent/Koha/Account/Line.t +++ b/t/db_dependent/Koha/Account/Line.t @@ -504,9 +504,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 => { @@ -525,6 +525,7 @@ subtest 'Renewal related tests' => sub { debit_type_code => "OVERDUE", status => "UNRETURNED", amountoutstanding => 0, + amount => 0, interface => 'commandline', })->store; -- 2.20.1