]> git.koha-community.org Git - koha.git/commit
Bug 18794: Fix test ListMetadataFormats in OAI/Server.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Jun 2017 21:56:45 +0000 (18:56 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 14 Jun 2017 14:19:04 +0000 (16:19 +0200)
commitcc4c862715c3d009cdc14dd51af59ffee2e4a98d
treef04682bf9d5f2a80c896e909ad742e70a70d58a8
parentabc32e9099376b6f6c9ffed8033e8e041c4cec68
Bug 18794: Fix test ListMetadataFormats in OAI/Server.t

This test may fail on slow servers, it compares the response date with
'now', but both can differ a bit.

https://jenkins.koha-community.org/job/Koha_Master_D8/198/consoleFull

   Failed test 'ListMetadataFormats'
   at t/db_dependent/OAI/Server.t line 150.
     Structures begin differing at:
          $got->{responseDate} = '2017-06-12T14:31:51Z'
     $expected->{responseDate} = '2017-06-12T14:31:50Z'

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1b3f0c798b7770ecd7211be5998790e4a9f3999a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/OAI/Server.t