[Koha-bugs] [Bug 16622] some tests triggered by prove t fail for unset KOHA_CONF

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 1 16:54:42 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16622

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
This is crazy. I do a fresh git install on Debian SID (yes, I know it's SID),
and install the elastic search stuff, and cpan2deb missing (or ones with too
low versions) koha perl deps. Everything seems to actually be working as
expected.

export unset KOHA_CONF
drop database koha_library;
sudo service mysql stop
-- possibly be more aggressive in making sure there is no DB. :)

prove t
-- dies horribly in 00-load.t
git bz apply 16618
prove t
-- finished, but fails because of Price.t
git bz apply 16582
prove t
-- some noise as expected, but passes.

The "Need Test::DBIx::Class" messages would make you think that they need the
DB, but actually, they are only looking for the schema of the tables so they
can mock test things.

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


More information about the Koha-bugs mailing list