Bug 18794: Fix test ListMetadataFormats in OAI/Server.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 5 Oct 2017 20:42:21 +0000 (17:42 -0300)
committerMason James <mtj@kohaaloha.com>
Tue, 24 Oct 2017 03:42:10 +0000 (16:42 +1300)
commita44af993d0aa32cc8852125afdfcc2fa12e2a274
tree894eb14eb21a14fd7fbb4a3bb1e1501e12ba2524
parent51e9dac429d7947ec40b84bdd9da4704bd85e5ff
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'
t/db_dependent/OAI/Server.t