[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 04:54:31 CEST 2013


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

Robin Sheat <robin at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21130|0                           |1
        is obsolete|                            |

--- Comment #2 from Robin Sheat <robin at catalyst.net.nz> ---
Created attachment 21133
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21133&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>
Signed-off-by: Robin Sheat <robin at catalyst.net.nz>

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


More information about the Koha-bugs mailing list