Lines 59-64
my $my_budgetperiod = {
Link Here
|
59 |
budget_period_enddate => '2008-12-31', |
59 |
budget_period_enddate => '2008-12-31', |
60 |
budget_period_description => 'MAPERI', |
60 |
budget_period_description => 'MAPERI', |
61 |
budget_period_active => 0, |
61 |
budget_period_active => 0, |
|
|
62 |
budget_period_id => '', # Bug 21604 |
62 |
}; |
63 |
}; |
63 |
$bpid = AddBudgetPeriod($my_budgetperiod); |
64 |
$bpid = AddBudgetPeriod($my_budgetperiod); |
64 |
isnt( $bpid, undef, 'AddBugetPeriod does not returns undef' ); |
65 |
isnt( $bpid, undef, 'AddBugetPeriod does not returns undef' ); |
Lines 127-132
my $my_budget = {
Link Here
|
127 |
budget_name => 'Periodiques', |
128 |
budget_name => 'Periodiques', |
128 |
budget_notes => 'This is a note', |
129 |
budget_notes => 'This is a note', |
129 |
budget_period_id => $bpid, |
130 |
budget_period_id => $bpid, |
|
|
131 |
budget_encumb => '', # Bug 21604 |
130 |
}; |
132 |
}; |
131 |
my $budget_id = AddBudget($my_budget); |
133 |
my $budget_id = AddBudget($my_budget); |
132 |
isnt( $budget_id, undef, 'AddBudget does not returns undef' ); |
134 |
isnt( $budget_id, undef, 'AddBudget does not returns undef' ); |
133 |
- |
|
|