command to test with yaz-client
[Biblio-Z3950.git] / t / 1-COBISS.t
index 782c6a0..9a8f1f7 100755 (executable)
@@ -3,9 +3,10 @@
 use warnings;
 use strict;
 
-use Test::More tests => 2;
+use Test::More tests => 3;
 
 use_ok 'COBISS';
 
-ok( my $results = COBISS->search() );
+ok( my $search = COBISS->search( 'TI=book' ), 'search' );
 
+ok( my $marc = COBISS->fetch_marc, 'fetch_marc' );