Bugzilla – Attachment 17645 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]
Add new unit tests for new routine: GetBudgetInfoFromItemnumber
0002-Bug-10013-Add-new-unit-tests-for-new-routines.patch (text/plain), 1.04 KB, created by
Amit Gupta
on 2013-04-24 09:28:46 UTC
(
hide
)
Description:
Add new unit tests for new routine: GetBudgetInfoFromItemnumber
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2013-04-24 09:28:46 UTC
Size:
1.04 KB
patch
obsolete
>From 422578e586f4caf3e05fbaff482bb6288018fe6f Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@osslabs.biz> >Date: Wed, 24 Apr 2013 14:56:37 +0530 >Subject: [PATCH 2/2] Bug 10013: Add new unit tests for new routines > >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