Koha/t/db_dependent
Yohann Dufour e1e0ac329c Bug 12470: adding unit tests for the routines CheckValidBarCode and CheckIfIssuedToPatron of the module C4::Circulation.pm
The routines CheckValidBarcode and CheckIfIssuedToPatron were not tested

Test plan:
1/ Apply the patch
2/ Execute : prove t/db_dependent/Circulation/CheckValidBarcode.t t/db_dependent/Circulation/CheckIfIssuedToPatron.t
3/ The result of the command has to be a success without error or warning :
t/db_dependent/Circulation/CheckValidBarcode.t ...... ok
t/db_dependent/Circulation/CheckIfIssuedToPatron.t .. ok
All tests successful.
Files=2, Tests=32,  3 wallclock secs ( 0.04 usr  0.01 sys +  2.88 cusr  0.17 csys =  3.10 CPU)
Result: PASS

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Patches squashed
Tests pass, no koha-qa errors

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Tests pass using sample data provided with Koha

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-07-14 08:51:18 -03:00
..
Acquisition Bug 12482: removing the use of the module C4::SQLHelper.pm, it is replaced by DBIx::Class 2014-07-03 14:24:58 -03:00
Circulation Bug 12470: adding unit tests for the routines CheckValidBarCode and CheckIfIssuedToPatron of the module C4::Circulation.pm 2014-07-14 08:51:18 -03:00
data Bug 12419: (QA followup) regression tests 2014-06-30 15:57:23 -03:00
Holds Bug 12086: qa-followup: remove warning on launching unit tests 2014-06-23 15:07:21 -03:00
Koha
Labels Bug 8375: (follow-up) adjust another test case for change in fonts 2014-05-06 21:24:40 +00:00
LDAP
Members
Record
Reports
Search Bug 10807: Add an authority search history for the OPAC 2014-05-05 02:32:27 +00:00
Serials Bug 12003: Do not calculate next pubdate for irregular subscriptions 2014-04-18 20:57:51 +00:00
www
XSLT_Handler Bug 11826: Add unit tests for Koha::XSLT_Handler 2014-05-26 03:52:45 +00:00
00-strict.t Bug 7844: (follow-up) don't test koha.psgi for ability to compile (yet) 2014-04-29 19:34:23 +00:00
Accounts.t
Acquisition.t Bug 11169: (follow-up) add more unit tests 2014-06-15 11:12:34 -03:00
Amazon.t
Auth.t
Auth_with_cas.t
AuthoritiesMarc.t Bug 7442: (follow-up) adjust UNIMARC test case to match change in BuildSummary() 2014-05-05 04:18:22 +00:00
BackgroundJob.t
Barcodes.t
Biblio.t Bug 11912: (follow-up) Use the common way to mock syspref 2014-04-19 18:41:43 +00:00
Bookseller.t Bug 12482: removing the use of the module C4::SQLHelper.pm, it is replaced by DBIx::Class 2014-07-03 14:24:58 -03:00
Borrower_Debarments.t Bug 12416: add new tests of DelUniqueDebarment 2014-06-22 19:59:04 -03:00
Borrower_Files.t Bug 12417: adding the units tests of the module Koha::Borrower::Files.pm 2014-07-11 16:16:11 -03:00
Branch.t
Budgets.t Bug 12482: removing the use of the module C4::SQLHelper.pm, it is replaced by DBIx::Class 2014-07-03 14:24:58 -03:00
Category.t
check_sysprefs.t
Circulation.t
Circulation_Branch.t
Circulation_issue.t Bug 11629: (folllow-up) fix various issues 2014-05-26 03:25:22 +00:00
Circulation_Issuingrule.t Bug 12406: adding the column maxsuspensiondays in the tests 2014-06-18 15:26:32 -03:00
Circulation_issuingrules.t
Circulation_OfflineOperation.t
Circulation_transfers.t
ClassSource.t
Context.t
CourseReserves.t
Csv.t
External_BakerTaylor.t
Heading_MARC21.t
Holds.t Bug 9532: add regression test 2014-05-05 17:17:36 +00:00
HoldsQueue.t Bug 11258: fix another case where holds queue made transfer requests that contradict the library holds policy 2014-04-18 15:23:23 +00:00
Holidays.t
ILSDI_Services.t Bug 11891: set up tests to require that Koha::Database uses same DB handle as C4::Context 2014-06-19 11:54:45 -03:00
Installer.t
Items.t Bug 12428: remove debugging leftover 2014-06-23 20:23:21 -03:00
KitchenSinkPlugin.kpz
Koha.t
Koha_Authority.t
Koha_borrower_modifications.t
Koha_Database.t
Koha_Misc_Files.t Bug 3050: QA follow-up 2014-05-25 21:15:03 +00:00
Koha_template_plugin_Branches.t
Koha_template_plugin_KohaDates.t
Languages.t Bug 7841: add a direct regression test 2014-05-19 16:40:23 +00:00
Letters.t Bug 12499: adding units tests for C4::Letters 2014-07-07 10:18:42 -03:00
Linker_FirstMatch.t
Log.t
MarcModificationTemplates.t
Members.t Bug 12226: (regression tests) Check_Userid should always consider the DB user not unique 2014-06-20 21:09:56 -03:00
Members_Attributes.t Bug 12427: Allow execution of UTs on a DB with issues 2014-06-24 09:43:04 -03:00
Members_columns.t
MungeMarcPrice.t Bug 9593: (follow-up) don't make currency.isocode required 2014-05-04 22:21:17 +00:00
NewsChannels.t
Overdues.t Bug 11696: ensure that print overdue notices use the print template 2014-05-02 20:29:21 +00:00
PatronLists.t
Plugins.t
Ratings.t
Record.t Bug 11826: Use XSLT handler object in showmarc, Record.pm 2014-05-26 03:52:45 +00:00
RecordProcessor_EmbedSeeFromHeadings.t
Reports.t
Reports_Guided.t Bug 12214: add regression test for reporting error when running report with SQL error 2014-05-09 14:39:54 +00:00
ReportsGuided.t
Reserves.t Bug 10845: (follow-up) update how a test case counts print hold available notices 2014-05-02 20:29:19 +00:00
rollingloans.t
RotatingCollections.t
Search.t Bug 12419: (QA followup) regression tests 2014-06-30 15:57:23 -03:00
Search_SearchHistory.t Bug 10807: (follow-up) remove comment about routine that is no longer present 2014-05-05 02:58:29 +00:00
Serials.t Bug 12482: removing the use of the module C4::SQLHelper.pm, it is replaced by DBIx::Class 2014-07-03 14:24:58 -03:00
Serials_2.t Bug 12482: removing the use of the module C4::SQLHelper.pm, it is replaced by DBIx::Class 2014-07-03 14:24:58 -03:00
Service.t
ShelfBrowser.t
SIP_ILS.t
SQLHelper.t
SuggestionEngine_ExplodedTerms.t
Suggestions.t Bug 11466: (follow-up) add additional test 2014-05-04 23:24:06 +00:00
sysprefs.t
Tags.t
UploadedFile.t
VirtualShelves.t Bug 9032: (follow-up) restore documented intepretation of virtualshelfshares.sharedate 2014-04-20 22:52:21 +00:00
VirtualShelves_Page.t
XISBN.t
XSLT_Handler.t Bug 11826: Add unit tests for Koha::XSLT_Handler 2014-05-26 03:52:45 +00:00
zebra_config.pl