Bugzilla – Attachment 18600 Details for
Bug 10013
Ability to link directly from an item in the Staff client to budget information.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
New unit tests for routine: GetBudgetInfoFromItemnumber
0002-Bug-10013-New-unit-tests-for-routine-GetBudgetInfoFr.patch (text/plain), 1.01 KB, created by
Amit Gupta
on 2013-06-03 05:39:46 UTC
(
hide
)
Description:
New unit tests for routine: GetBudgetInfoFromItemnumber
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2013-06-03 05:39:46 UTC
Size:
1.01 KB
patch
obsolete
>From 62aab5c2eaf2d7873397260b15cf396440c13cb7 Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amitddng135@gmail.com> >Date: Mon, 3 Jun 2013 11:02:17 +0530 >Subject: [PATCH 2/2] Bug-10013-New unit tests for routine: > GetBudgetInfoFromItemnumber > >--- > .../Acquisition/BudgetInfoFromItemnumber.t | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > create mode 100644 t/db_dependent/Acquisition/BudgetInfoFromItemnumber.t > >diff --git a/t/db_dependent/Acquisition/BudgetInfoFromItemnumber.t b/t/db_dependent/Acquisition/BudgetInfoFromItemnumber.t >new file mode 100644 >index 0000000..df97b7b >--- /dev/null >+++ b/t/db_dependent/Acquisition/BudgetInfoFromItemnumber.t >@@ -0,0 +1,15 @@ >+#!/usr/bin/perl >+# >+# This Koha test module is a stub! >+# Add more tests here!!! >+ >+use strict; >+use warnings; >+ >+use Test::More tests => 1; >+use C4::Acquisition; >+ >+my $itemnumber = 1; >+my $budget = GetBudgetInfoFromItemnumber( $itemnumber ); >+ >+ok($budget->{'budget_period_id'}==1, "Test the GetBudgetInfoFromItemnumber routine"); >-- >1.7.9.5 >
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 10013
:
17598
|
17610
|
17623
|
17645
|
18598
|
18600
|
20061
|
20063
|
20064
|
22061