Bugzilla – Attachment 20064 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]
Bug-10013-New unit tests for routine: GetBudgetInfoFromItemnumber
Bug-10013-New-unit-tests-for-routine-GetBudgetInfo.patch (text/plain), 1.02 KB, created by
Kyle M Hall (khall)
on 2013-08-02 16:07:27 UTC
(
hide
)
Description:
Bug-10013-New unit tests for routine: GetBudgetInfoFromItemnumber
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-08-02 16:07:27 UTC
Size:
1.02 KB
patch
obsolete
>From 4df692fb7acec3431f6c67a45be0ad827d5ab7b8 Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amitddng135@gmail.com> >Date: Mon, 3 Jun 2013 11:02:17 +0530 >Subject: [PATCH] Bug-10013-New unit tests for routine: GetBudgetInfoFromItemnumber > >--- > .../Acquisition/BudgetInfoFromItemnumber.t | 15 +++++++++++++++ > 1 files changed, 15 insertions(+), 0 deletions(-) > 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.2.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