Main Koha release repository https://koha-community.org
Find a file
Kenza Zaki 5de06b87e2 Bug 10644: add unit tests for ClassSource.pm
The tests are wrapped in a database transaction.

To test:
prove t/db_dependent/ClassSource.t
t/db_dependent/ClassSource.t .. 1/24 prepare_cached(SELECT * FROM `class_sort_rules` WHERE `class_sort_rule` = ?) statement handle DBI::st=HASH(0x92dbedc) still Active at C4/ClassSource.pm line 249
prepare_cached(SELECT * FROM `class_sources` WHERE cn_source = ?) statement handle DBI::st=HASH(0x926876c) still Active at C4/ClassSource.pm line 137
attempting to use non-existent class sorting routine routine1
prepare_cached(SELECT * FROM `class_sort_rules` WHERE `class_sort_rule` = ?) statement handle DBI::st=HASH(0x92dbedc) still Active at C4/ClassSource.pm line 249
prepare_cached(SELECT * FROM `class_sources` WHERE cn_source = ?) statement handle DBI::st=HASH(0x926876c) still Active at C4/ClassSource.pm line 137
t/db_dependent/ClassSource.t .. ok
All tests successful.
Files=1, Tests=24,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.12 cusr  0.01 csys =  0.15 CPU)
Result: PASS

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-08-01 15:09:31 +00:00
acqui Bug 10462: Some optimizations in Z3950 search paving the way for enhancements 2013-07-24 16:32:29 +00:00
admin Bug 10516 - Improve titles, breadcrumbs, and confirmation messages for Z39.50 server adds and updates 2013-07-22 18:44:02 +00:00
authorities
basket
C4 do some validation of the KohaOpacRecentSearches cookie 2013-07-28 02:52:13 +00:00
catalogue Bug 10578: fix results sorting in staff interface 2013-07-22 15:52:09 +00:00
cataloguing Bug 10462: Some optimizations in Z3950 search paving the way for enhancements 2013-07-24 16:32:29 +00:00
circ bug 7494: optional checkout-time fallback search for a book 2013-07-24 15:12:38 +00:00
course_reserves
debian Bug 8911: make sure history.txt gets installed where history.txt can see it 2013-07-22 14:11:48 +00:00
docs bug 7143: add latest batch of committers 2013-07-22 14:40:58 +00:00
errors
etc Bug 8911: make sure history.txt gets installed where history.txt can see it 2013-07-22 14:11:48 +00:00
install_misc
installer bug 7494: DBRev 3.13.00.015' 2013-07-24 15:12:52 +00:00
Koha Bug 9755: (follow-up) tweak test for tag visibility in merge hash 2013-07-23 23:11:04 +00:00
koha-tmpl Bug 10543 - add mandatory subfield check to addorderiso2709.pl 2013-07-30 14:47:36 +00:00
labels Bug 10527: remove disused routine C4::Branch::get_branch_code_from_name 2013-07-12 20:20:20 +00:00
members Bug 9394: (follow-up) restore ability to cancel holds from the patron summary 2013-07-24 05:04:57 +00:00
misc Bug 10127 : Printoverdues.sh should tar only pdf files 2013-07-16 15:47:13 +00:00
offline_circ
opac do some validation of the KohaOpacRecentSearches cookie 2013-07-28 02:52:13 +00:00
OpenILS
patroncards Bug 10527: remove disused routine C4::Branch::get_branch_code_from_name 2013-07-12 20:20:20 +00:00
plugins
reports
reserve Bug 9394: (follow-up) silence spurious warns 2013-07-24 05:04:56 +00:00
reviews
rotating_collections
selenium
serials Bug 9394: Use reserve_id where possible 2013-07-24 05:04:55 +00:00
services
skel
sms
suggestion
svc
t Bug 10644: add unit tests for ClassSource.pm 2013-08-01 15:09:31 +00:00
tags
test
tmp/modified_authorities
tools Bug 10527: remove disused routine C4::Branch::get_branch_code_from_name 2013-07-12 20:20:20 +00:00
virtualshelves
xt
.htaccess
.mailmap
about.pl Bug 8911: make sure history.txt gets installed where history.txt can see it 2013-07-22 14:11:48 +00:00
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7 Bug 7440 - Remove NoZebra vestiges 2013-03-19 21:17:04 -04:00
INSTALL.opensuse
INSTALL.ubuntu
INSTALL.ubuntu.12.04
INSTALL.ubuntu.lucid
koha_perl_deps.pl bug 10548: fix count of missing required dependencies by koha_perl_deps.pl 2013-07-11 14:03:32 +00:00
kohaversion.pl bug 7494: DBRev 3.13.00.015' 2013-07-24 15:12:52 +00:00
LICENSE
mainpage.pl
Makefile.PL Bug 8911: make sure history.txt gets installed where history.txt can see it 2013-07-22 14:11:48 +00:00
MANIFEST.SKIP
README
README.robots
rewrite-config.PL

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/