Skip to content

Commit

Permalink
Fixing the handler tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phochste committed Sep 22, 2015
1 parent 7c94797 commit 5e098e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion META.json
Expand Up @@ -49,9 +49,11 @@
},
"runtime" : {
"requires" : {
"Catmandu" : "0.9204",
"Catmandu" : "0.9",
"HTTP::OAI" : "4.03",
"IO::Socket::SSL" : "1.993",
"IO::String" : "0",
"MODS::Record" : "0.11",
"Moo" : "1.0",
"XML::Struct" : "0.18",
"perl" : "v5.10.1"
Expand Down
6 changes: 3 additions & 3 deletions t/02-handler.t
Expand Up @@ -14,7 +14,7 @@ ok $handler;

if ($ENV{RELEASE_TESTING}) {
my $importer = Catmandu::Importer::OAI->new(
url => 'http://search.ugent.be/meercat/x/oai',
url => 'http://lib.ugent.be/oai',
metadataPrefix => 'marcxml',
set => "eu",
handler => $handler,
Expand All @@ -29,7 +29,7 @@ if ($ENV{RELEASE_TESTING}) {
#---

$importer = Catmandu::Importer::OAI->new(
url => 'http://search.ugent.be/meercat/x/oai',
url => 'http://lib.ugent.be/oai',
metadataPrefix => 'marcxml',
set => "eu",
handler => '+TestParser',
Expand All @@ -43,7 +43,7 @@ if ($ENV{RELEASE_TESTING}) {

#---
$importer = Catmandu::Importer::OAI->new(
url => 'http://search.ugent.be/meercat/x/oai',
url => 'http://lib.ugent.be/oai',
metadataPrefix => 'marcxml',
set => "eu",
handler => sub {
Expand Down

0 comments on commit 5e098e8

Please sign in to comment.