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

Tomás Cohen Arazi <tomasco...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #71673|0                           |1
        is obsolete|                            |
  Attachment #71816|0                           |1
        is obsolete|                            |
  Attachment #72009|0                           |1
        is obsolete|                            |
  Attachment #73669|0                           |1
        is obsolete|                            |

--- Comment #17 from Tomás Cohen Arazi <tomasco...@gmail.com> ---
Created attachment 73684
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73684&action=edit
Bug 20191: Use Test::MockTime to hold time still

The problem is the calls to HTTP::OAI::Header, etc.
may reference gmtime which is continually changing by
the second. By forcing time to lock for all the tests,
except the last one, we can be assured things should
not fail.

TEST PLAN
---------
install libtest-mocktime-perl
apply the patch
restart_all
in kshell, prove t/db_dependent/OAI/Server.t
run koha qa test tools

Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/

Reply via email to