[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:08:04 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13933
Nicolas Legrand <nicolas.legrand at bulac.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #37400|0 |1
is obsolete| |
--- Comment #2 from Nicolas Legrand <nicolas.legrand at bulac.fr> ---
Created attachment 37401
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37401&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
Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list