Koha-clms/t/db_dependent
Kenza Zaki e02ee046bf Bug 10528: add unit tests for C4::Bookseller.pm
The tests are wrapped in a transaction.

NOTE: some tests should pass but doesn't because of incoherences in
the code.  These tests are in comments and preceded by FIXME

Test plan:
prove t/db_dependent/Bookseller.t
t/db_dependent/Bookseller.t .. 15/53
[Some warnings about uninitialised values]
t/db_dependent/Bookseller.t .. ok
All tests successful.
Files=1, Tests=53,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.46 cusr  0.03 csys =  0.51 CPU)
Result: PASS

http://bugs.koha-community.org/show_bug.cgi?id=10528

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
The new tests pass nicely, as do all old tests and the QA script.
All patches marked as dependencies have been pushed to master
already.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit dc7b5b10e7)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit e647d4e3ed)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit e647d4e3ed)
2013-10-11 15:40:38 -03:00
..
LDAP
…
Labels
…
Members Bug 10481: Unit tests for C4::Members::AddEnrolmentFeeIfNeeded 2013-09-14 16:32:13 -03:00
Record
…
Reports
…
data/zebraexport
…
lib Bug 10458: Remove obsolete Z3950 module and test 2013-07-13 11:18:49 -03:00
needs_user_input
…
00-strict.t
…
Accounts.t
…
Acquisition.t
…
Amazon.t
…
Auth.t
…
Auth_ParseSearchHistoryCookie.t move Auth_ParseSearchHistoryCookie.t to db_dependent directory 2013-07-28 18:33:06 -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-10-11 15:40:38 -03:00
Budgets.t
…
Circulation.t
…
ClassSource.t Bug 10644: (follow-up) remove inadvertant dependence on Perl 5.14 2013-09-13 19:19:34 -03:00
Context.t Bug 9005: Allow user to disable syspref cache 2012-11-08 12:41:10 -05:00
Csv.t
…
External_BakerTaylor.t
…
Heading_MARC21.t
…
HoldsQueue.t Bug 10628: make sure AutomaticItemReturn doesn't prevent holds queue from filling local holds with local items 2013-09-14 21:37:30 -03:00
Holidays.t
…
Items.t
…
Koha.t Bug 10666: avoid random failures of Daily quotes tests 2013-09-13 19:16:00 -03:00
Koha_Authority.t
…
Koha_template_plugin_KohaBranchName.t Bug 10494: test cases for the KohaBranchName plugin 2013-08-02 16:08:57 -03:00
Koha_template_plugin_KohaDates.t
…
Linker_FirstMatch.t
…
Log.t
…
Members.t
…
Ratings.t
…
Record.t
…
RecordProcessor_EmbedSeeFromHeadings.t
…
Reports.t
…
Reports_Guided.t
…
Reserves.t Bug 10289: (follow-up) don't set cardnumber for test patron 2013-08-03 18:00:16 -03:00
RotatingCollections.t Bug 10653: (follow-up) minor tweaks to RotatingCollections tests 2013-09-14 19:01:37 -03:00
SIP_ILS.t
…
SQLHelper.t
…
Search.t Bug 10741: (follow-up) add regression test 2013-09-14 21:52:51 -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
…
UploadedFile.t
…
VirtualShelves.t Bug 10386: improvements to VirtualShelves.t 2013-07-16 09:19:55 -03:00
VirtualShelves_Page.t
…
XISBN.t
…
check_sysprefs.t
…
database_dependent.pl
…
rollingloans.t
…
sysprefs.t
…
zebra_config.pl
…