[Koha-bugs] [Bug 13933] t/DateUtils.t causes the build to break (from bug 13601)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 31 10:00:20 CEST 2015


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

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 37400
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37400&action=edit
Bug 13933: Fix t/DateUtils.t without DB

If the mysql server is not running, the DateUtils.t tests failed.
This is caused by

commit dd9f456ab7c2f0e66173a6feb7df2a38604c82cd
    Bug 13601: Add tests to highlight the problems with
    DateTime::Format::DateParse

The pref dateformat and TimeFormat were retrieved before the mock.
Before bug 13601, the complete preference method was mocked, that's why
the error did not appear.

Test plan:
  sudo service mysql stop
  prove t/DateUtils.t
should be happy

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


More information about the Koha-bugs mailing list