@@ -, +, @@ --- t/db_dependent/Budgets.t | 2 ++ 1 file changed, 2 insertions(+) --- a/t/db_dependent/Budgets.t +++ a/t/db_dependent/Budgets.t @@ -59,6 +59,7 @@ my $my_budgetperiod = { budget_period_enddate => '2008-12-31', budget_period_description => 'MAPERI', budget_period_active => 0, + budget_period_id => '', # Bug 21604 }; $bpid = AddBudgetPeriod($my_budgetperiod); isnt( $bpid, undef, 'AddBugetPeriod does not returns undef' ); @@ -127,6 +128,7 @@ my $my_budget = { budget_name => 'Periodiques', budget_notes => 'This is a note', budget_period_id => $bpid, + budget_encumb => '', # Bug 21604 }; my $budget_id = AddBudget($my_budget); isnt( $budget_id, undef, 'AddBudget does not returns undef' ); --