https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16869 Bug ID: 16869 Summary: Silence and catch warnings in t/db_dependent/SuggestionEngine_ExplodedTerms.t Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Test Suite Assignee: mtompset@hotmail.com Reporter: mtompset@hotmail.com QA Contact: gmcharlt@gmail.com The warnings are triggered by a lack of opachtdocs, as the current mock function returns '', cascading C4::Template::themelanguage to fall through with no explicit return (turns out to be treated like '',undef,undef). This in turn sets the preferredtheme and lang to undef, which triggers the use of uninitialized values warning. While trying to figure out the best way to fix this, bug 8846 was discovered. Attempting to unset $KOHA_CONF triggers warnings, because of the "use C4::Context;" in C4::Languages and C4::Templates. prove t/db_dependent/SuggestionEngine_ExplodedTerms.t can reproduce the noise easily. -- You are receiving this mail because: You are watching all bug changes.