[Koha-bugs] [Bug 14977] Remove C4::Dates from files t/db_dependent/*.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 27 10:03:08 CET 2015


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #6 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
The NewsChannels.t test fail for me, with and without the last patch:

With:
#   Failed test 'got back expected news item via get_opac_new - ID 1'
#   at t/db_dependent/NewsChannels.t line 90.
#     Structures begin differing at:
#          $got->{expirationdate} = '12/30/2999'
#     $expected->{expirationdate} = '30/12/2999'

#   Failed test 'got back expected news item via get_opac_new - ID 2'
#   at t/db_dependent/NewsChannels.t line 112.
#     Structures begin differing at:
#          $got->{expirationdate} = '12/31/2999'
#     $expected->{expirationdate} = '31/12/2999'
# Looks like you failed 2 tests of 10.


Without:
#   Failed test 'got back expected news item via get_opac_new - ID 1'
#   at t/db_dependent/NewsChannels.t line 90.
#     Structures begin differing at:
#          $got->{expirationdate} = '30/12/2999'
#     $expected->{expirationdate} = '2999-12-30'

#   Failed test 'got back expected news item via get_opac_new - ID 2'
#   at t/db_dependent/NewsChannels.t line 112.
#     Structures begin differing at:
#          $got->{timestamp} = '01/01/2000'
#     $expected->{timestamp} = '2000-01-01'
# Looks like you failed 2 tests of 10.

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


More information about the Koha-bugs mailing list