https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18712
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|[email protected] |[email protected] | |ommunity.org CC| |[email protected] | |ommunity.org Summary|Run database_dependent test |make test is failing with |suite --No ignored |an empty DB - t/Matcher.t Version|17.05 |master Status|NEW |ASSIGNED --- Comment #3 from Jonathan Druart <[email protected]> --- We have 2 problems here: 1/ t/Matcher.t is failing with an empty DB, the data are not mocked correctly (Prices.t has been fixed earlier, maybe with bug 18289) 2/ We access DB during compilation time, which is quite bad. >From C4::Auth, we retrieve system preference values in the BEGIN block: 62 $cas = C4::Context->preference('casAuthentication'); 64 $caslogout = C4::Context->preference('casLogout'); This should be rewritten and fixed, but it does not prevent the tests to pass, but raises the "DBI connect failed" warning. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
