@@ -, +, @@ 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/t/db_dependent/OAI/Server.t +++ a/t/db_dependent/OAI/Server.t @@ -131,7 +131,6 @@ sub test_query { %$expected, ( request => 'http://localhost', - responseDate => DateTime->now . 'Z', xmlns => 'http://www.openarchives.org/OAI/2.0/', 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'xsi:schemaLocation' => 'http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd', @@ -147,6 +146,7 @@ sub test_query { $response = XMLin($stdout); } + delete $response->{responseDate}; unless (is_deeply($response, \%full_expected, $test)) { diag "PARAM:" . Dump($param) . --