Bugzilla – Attachment 81858 Details for
Bug 21604
Cannot add/edit funds, cannot add budgets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21604: Add two trivial test cases
Bug-21604-Add-two-trivial-test-cases.patch (text/plain), 1.30 KB, created by
Marcel de Rooy
on 2018-11-02 06:51:04 UTC
(
hide
)
Description:
Bug 21604: Add two trivial test cases
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-11-02 06:51:04 UTC
Size:
1.30 KB
patch
obsolete
>From 590635ded396cef42851ff4249a18ed84f46e232 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 2 Nov 2018 07:44:34 +0100 >Subject: [PATCH] Bug 21604: Add two trivial test cases >Content-Type: text/plain; charset=utf-8 > >Adding an id in AddBudgetPeriod and an empty string in AddBudget for >budget_encumb. > >Test plan: >Run Budgets.t with/without this patch in strict sql mode. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Budgets.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Budgets.t b/t/db_dependent/Budgets.t >index ec14e11..3ca1a9d 100755 >--- a/t/db_dependent/Budgets.t >+++ b/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' ); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21604
:
80885
|
80959
| 81858 |
81859