From a0153bf781ee7a4457fd8ae2cd248c9c4174d830 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 2 Feb 2023 16:53:58 +0000 Subject: [PATCH] Revert "Bug 29021: (QA follow-up) Remove useless warnings" This reverts commit fa82da9b574707382c3187487785c7b42b45f515. Signed-off-by: Lucas Gass --- t/db_dependent/Koha/Account/Line.t | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/t/db_dependent/Koha/Account/Line.t b/t/db_dependent/Koha/Account/Line.t index 2053982e1f..ccf4b21974 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_sample_item; - my $issue = $builder->build_object( + my $staff = $builder->build_object( { class => 'Koha::Patrons' } ); + my $item = $builder->build_object({ class => 'Koha::Items' }); + my $issue = $builder->build_object( { class => 'Koha::Checkouts', value => { @@ -522,7 +522,6 @@ subtest 'Renewal related tests' => sub { debit_type_code => "OVERDUE", status => "UNRETURNED", amountoutstanding => 0, - amount => 0, interface => 'commandline', })->store; -- 2.39.5