[Koha-bugs] [Bug 19821] Run tests on a separate database
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Dec 17 21:39:00 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19821
Jon Knight <J.P.Knight at lboro.ac.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |J.P.Knight at lboro.ac.uk
--- Comment #3 from Jon Knight <J.P.Knight at lboro.ac.uk> ---
I've tried the patch on my kohadevbox VM and unfortunately I get this output:
vagrant at kohadevbox:kohaclone(bug_19821)$ prove t/db_dependent/Suggestions.t
Error reading file /tmp/koha-conf.wyAjLQ at
/home/vagrant/kohaclone/Koha/Config.pm line 51.
Error reading file /tmp/koha-conf.wyAjLQ at
/home/vagrant/kohaclone/Koha/Config.pm line 51.
Error reading file /tmp/koha-conf.wyAjLQ at
/home/vagrant/kohaclone/Koha/Config.pm line 51.
The config file (/tmp/koha-conf.wyAjLQ) has not been parsed correctly at
/home/vagrant/kohaclone/C4/Context.pm line 262.
Error reading file /tmp/koha-conf.wyAjLQ at
/home/vagrant/kohaclone/Koha/Config.pm line 51.
The config file (/tmp/koha-conf.wyAjLQ) has not been parsed correctly at
/home/vagrant/kohaclone/C4/Context.pm line 262.
Error reading file /tmp/koha-conf.wyAjLQ at
/home/vagrant/kohaclone/Koha/Config.pm line 51.
The config file (/tmp/koha-conf.wyAjLQ) has not been parsed correctly at
/home/vagrant/kohaclone/C4/Context.pm line 262.
Create test database...
Use of uninitialized value $host in concatenation (.) or string at
/home/vagrant/kohaclone/t/lib/Bootstrap.pm line 50.
Use of uninitialized value $port in concatenation (.) or string at
/home/vagrant/kohaclone/t/lib/Bootstrap.pm line 50.
Use of uninitialized value $database in concatenation (.) or string at
/home/vagrant/kohaclone/t/lib/Bootstrap.pm line 55.
DBD::mysql::db do failed: You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to
use near '' at line 1 at /home/vagrant/kohaclone/t/lib/Bootstrap.pm line 55.
I do have the grant applied:
GRANT ALL PRIVILEGES ON `koha_test`.* TO 'koha_kohadev'@'%'
Without the patch, the test runs OK.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list