[Koha-bugs] [Bug 18299] Removal of SQL queries from admin/ env_tz_test.pl script into a perl module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 20 11:40:08 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18299

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |veron at veron.ch

--- Comment #3 from Marc Véron <veron at veron.ch> ---
Problem with test plan step 16. Run Context.t unit test: prove -v Context.t

I get:

not ok 41 - Correct time

#   Failed test 'Correct time'
#   at t/db_dependent/Context.t line 159.
#          got: '2017-04-20 11:32:32'
#     expected: '2017-04-20 09:32:32'
# Looks like you failed 1 test of 41.

(got: is local time here)

Time shown by env_tz_test.pl is local time:

Checking different TIME elements in the system:

perl localime: Thu Apr 20 11:30:31 2017
system(date): Don Apr 20 11:30:31 CEST 2017
mysql dbh (Context) time_zone : SYSTEM
mysql dbh (Context) now() : 2017-04-20 11:30:31

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


More information about the Koha-bugs mailing list