Lines 131-137
sub test_query {
Link Here
|
131 |
%$expected, |
131 |
%$expected, |
132 |
( |
132 |
( |
133 |
request => 'http://localhost', |
133 |
request => 'http://localhost', |
134 |
responseDate => DateTime->now . 'Z', |
|
|
135 |
xmlns => 'http://www.openarchives.org/OAI/2.0/', |
134 |
xmlns => 'http://www.openarchives.org/OAI/2.0/', |
136 |
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', |
135 |
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', |
137 |
'xsi:schemaLocation' => 'http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd', |
136 |
'xsi:schemaLocation' => 'http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd', |
Lines 147-152
sub test_query {
Link Here
|
147 |
$response = XMLin($stdout); |
146 |
$response = XMLin($stdout); |
148 |
} |
147 |
} |
149 |
|
148 |
|
|
|
149 |
delete $response->{responseDate}; |
150 |
unless (is_deeply($response, \%full_expected, $test)) { |
150 |
unless (is_deeply($response, \%full_expected, $test)) { |
151 |
diag |
151 |
diag |
152 |
"PARAM:" . Dump($param) . |
152 |
"PARAM:" . Dump($param) . |
153 |
- |
|
|