@@ -, +, @@ t/db_dependent/Budgets.t --- t/db_dependent/Budgets.t | 1 + 1 file changed, 1 insertion(+) --- a/t/db_dependent/Budgets.t +++ a/t/db_dependent/Budgets.t @@ -433,6 +433,7 @@ for my $infos (@order_infos) { } ); } } +t::lib::Mocks::mock_preference('CalculateFundValuesIncludingTax', '1'); is( GetBudgetHierarchySpent( $budget_id1 ), 160, "total spent for budget1 is 160" ); is( GetBudgetHierarchySpent( $budget_id11 ), 100, "total spent for budget11 is 100" ); is( GetBudgetHierarchySpent( $budget_id111 ), 20, "total spent for budget111 is 20" ); --