X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest%2FRecord%2FOPAC.pm;h=ee918b67625a03cb37484cecfb80613a2f057f9f;hp=727097c7faa507321892309dbcd431fde4225c6b;hb=da9432870e6ff0f1bbf7c63cd42af27f74d0624e;hpb=032ec793aa72db9ca9d96b584a3e12063431ecf1 diff --git a/lib/ZOOM/IRSpy/Test/Record/OPAC.pm b/lib/ZOOM/IRSpy/Test/Record/OPAC.pm index 727097c..ee918b6 100644 --- a/lib/ZOOM/IRSpy/Test/Record/OPAC.pm +++ b/lib/ZOOM/IRSpy/Test/Record/OPAC.pm @@ -12,7 +12,7 @@ use ZOOM::IRSpy::Test; our @ISA = qw(ZOOM::IRSpy::Test); my @queries = ( - "\@attr 1=4 mineralazsdfdsf", + "\@attr 1=4 mineral", "\@attr 1=4 computer", "\@attr 1=44 mineral", # Smithsonian doesn't support AP 4! "\@attr 1=1016 water", # Connector Framework only does 1016 @@ -65,7 +65,7 @@ sub completed_search { if !defined $q || $conn->record->zoom_error->{TIMEOUT} >= $ZOOM::IRSpy::max_timeout_errors; $conn->log("irspy_test", "Trying another search ..."); - $conn->irspy_search_pqf($queries[$qindex], { queryindex => $qindex }, %options, + $conn->irspy_search_pqf($queries[$qindex], { queryindex => $qindex }, \%options, ZOOM::Event::ZEND, \&completed_search, exception => \&completed_search); return ZOOM::IRSpy::Status::TASK_DONE;