Koha-clms/t/db_dependent
Kenza Zaki b7e3e0efa6 Bug 10699: add explicit return value for DeleteBranchTransferLimits()
This patch adds return values to DeleteBranchTransferLimits:
1 if a Transfer Limit is deleted
undef if no parameters is given
0E0 if a wrong parameter is given

More, it fixes and adds some tests in t/db_dependent/Circulation_transfers.t

To test :
prove t/db_dependent/Circulation_transfers.t
t/db_dependent/Circulation_transfers.t .. ok
All tests successful.
Files=1, Tests=14, 19 wallclock secs ( 0.02 usr  0.01 sys +  0.39 cusr  0.02 csys =  0.44 CPU)
Result: PASS

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested with patch for bug 10692 applied.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 88f15db30a)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2013-09-13 14:43:58 -03:00
..
Acquisition Bug 10275: Use a transaction for OrderFromSubscription.t 2013-07-25 12:44:42 -03:00
LDAP
…
Labels
…
Members Bug 10481: Unit tests for C4::Members::AddEnrolmentFeeIfNeeded 2013-09-11 14:33:32 -03:00
Record
…
Reports
…
data/zebraexport Revert "Bug 7167: Adds Unit tests for C4::Update::Database" 2012-12-27 14:02:52 -05:00
lib Bug 10458: Remove obsolete Z3950 module and test 2013-06-28 11:54:52 -03:00
needs_user_input
…
www Bug 8300: Add mechanized unit test for batch import 2013-05-01 07:57:28 -04:00
00-strict.t
…
Accounts.t
…
Acquisition.t bug 10556: regression test for setting deliverytime when adding vendor 2013-07-25 12:59:02 -03:00
Amazon.t
…
Auth.t
…
Auth_ParseSearchHistoryCookie.t move Auth_ParseSearchHistoryCookie.t to db_dependent directory 2013-07-28 18:06:59 -03:00
Auth_with_cas.t
…
AuthoritiesMarc.t Bug 8890 - move two more db dependent tests 2012-10-24 17:52:42 +02:00
BackgroundJob.t
…
Barcodes.t
…
Biblio.t
…
Bookseller.t Bug 10528: add unit tests for C4::Bookseller.pm 2013-09-13 13:56:49 -03:00
Branch.t Bug 10508: (follow-up) remove Perl 5.14 construct 2013-09-13 14:19:53 -03:00
Budgets.t Bug 9937: Add new unit tests for new routines (introduced by bug 5343) 2013-03-30 17:05:15 -04:00
Circulation.t Bug 10663: (follow-up) set circ policy for circulation tests 2013-08-16 12:44:21 -03:00
Circulation_Issuingrule.t Bug 10767: (follow-up) remove FIXME comments 2013-09-13 14:33:11 -03:00
Circulation_OfflineOperation.t Bug 10710: (follow-up) perltidy new code 2013-09-13 14:34:41 -03:00
Circulation_issuingrules.t Bug 8365: Add unit tests and fix QA issues 2013-03-22 07:57:02 -04:00
Circulation_transfers.t Bug 10699: add explicit return value for DeleteBranchTransferLimits() 2013-09-13 14:43:58 -03:00
ClassSource.t Bug 10644: (follow-up) remove inadvertant dependence on Perl 5.14 2013-08-16 12:34:39 -03:00
Context.t Bug 9191: updatedatabase.pl should only run updates up to the current version 2012-12-11 08:19:00 -05:00
Csv.t
…
External_BakerTaylor.t
…
Heading_MARC21.t
…
Holds.t bug 2394: regression test for canreservefromotherbranches 2013-09-10 12:39:14 -03:00
HoldsQueue.t Bug 10628: make sure AutomaticItemReturn doesn't prevent holds queue from filling local holds with local items 2013-09-13 12:28:50 -03:00
Holidays.t Holidays Test Plan - DB Dependent 2012-10-01 16:44:02 +02:00
Items.t Bug 5327 : Fixing a typo in the test that was causing a false fail 2012-09-07 14:31:59 +02:00
KitchenSinkPlugin.kpz Bug 7804 - Add Koha Plugin System - QA Followup 3 - Additional Unit Tests 2013-03-20 14:50:38 -04:00
Koha.t Bug 10666: (follow-up) really fix the daily quotes test 2013-08-16 12:45:51 -03:00
Koha_Authority.t Bug 7417: Include see from references in bibliographic searches 2012-09-13 14:19:28 +02:00
Koha_borrower_modifications.t Bug 7067 - QA Followup - Fix failing tests 2012-12-14 08:09:01 -05:00
Koha_template_plugin_KohaBranchName.t Bug 10494: test cases for the KohaBranchName plugin 2013-07-15 15:02:05 -03:00
Koha_template_plugin_KohaDates.t
…
Linker_FirstMatch.t
…
Log.t
…
Members.t Bug 9103 : Follow up adding unit test 2013-03-19 22:50:39 -04:00
Plugins.t Bug 9909: Don't install KitchenSink plugin if plugin dir isn't writable 2013-03-22 21:52:41 -04:00
Ratings.t
…
Record.t
…
RecordProcessor_EmbedSeeFromHeadings.t Bug 7417: Include see from references in bibliographic searches 2012-09-13 14:19:28 +02:00
Reports.t
…
ReportsGuided.t Bug 9659 follow-up: correct syntax for older Perl 2013-04-26 21:33:34 -04:00
Reports_Guided.t
…
Reserves.t Bug 10289: (follow-up) don't set cardnumber for test patron 2013-07-16 11:00:10 -03:00
RotatingCollections.t Bug 10653: (follow-up) minor tweaks to RotatingCollections tests 2013-09-11 14:40:08 -03:00
SIP_ILS.t
…
SQLHelper.t
…
Search.t Bug 10741: (follow-up) add regression test 2013-09-13 12:43:18 -03:00
Serials.t
…
Serials_2.t
…
Service.t
…
SuggestionEngine_ExplodedTerms.t Bug 8846 conflict resolution: correct path 2012-11-01 08:41:30 -04:00
Suggestions.t
…
Tags.t Bug 7642 - fix the lost display of tag sizes 2012-10-01 17:38:27 +02:00
UploadedFile.t
…
VirtualShelves.t Bug 10499: VirtualShelves.t - wrap tests in a database transaction 2013-07-25 12:42:17 -03:00
VirtualShelves_Page.t
…
XISBN.t
…
check_sysprefs.t
…
database_dependent.pl
…
rollingloans.t
…
sysprefs.t
…
zebra_config.pl bug 8649: create a temp directory for Zebra for C4::Search tests 2012-09-13 11:55:48 +02:00