[Koha-bugs] [Bug 10897] t/ILSDI_Services.t is db dependent

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 17 02:02:02 CEST 2013


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

--- Comment #1 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 21130
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21130&action=edit
Bug 10897 Removing DB dependence of t/ILSDI_Services.t

To test
1/ Run the test with a config that doesnt allow db access you should
get a message like

t/ILSDI_Services.t .................. DBI
connect('dbname=koha;host=localhost;port=3306','kohaadmin',...)
failed: Access denied for user 'kohaadmin'@'localhost' (using
password: YES) at
/home/travis/build/ranginui/koha/blib/PERL_MODULE_DIR/C4/Context.pm
line 810.

2/ Apply patch and run again

3/ Test should now run cleanly

(cherry picked from commit c525dd384eba818076929cd20f10003c3b804111)

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list