X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=t%2Fdb_dependent%2FBudgets.t;h=0db09284a3efb7a930b877661f152819e7ea1895;hb=e53667105d98dde0500323cb9699bf217c2f2508;hp=e31753fb32be5b5797a6774bda1dc0ff95062601;hpb=4ae2f6d9d8addd4e7fb8480ea0c41adfaa0febb0;p=srvgit diff --git a/t/db_dependent/Budgets.t b/t/db_dependent/Budgets.t index e31753fb32..0db09284a3 100755 --- a/t/db_dependent/Budgets.t +++ b/t/db_dependent/Budgets.t @@ -516,7 +516,7 @@ is ( GetBudgetOrdered( $fund ), '20', "total ordered price is 20"); # CloneBudgetPeriod # Let's make sure our timestamp is old -my @orig_funds = Koha::Acquisition::Funds->search({ budget_period_id => $budget_period_id }); +my @orig_funds = Koha::Acquisition::Funds->search({ budget_period_id => $budget_period_id })->as_list; foreach my $fund (@orig_funds){ $fund->timestamp('1999-12-31 23:59:59')->store; }