we need english stemmer because remote database is configured wrong
[Biblio-Z3950.git] / t / 6-CROSBI.t
index 37c6835..2a01ef6 100755 (executable)
@@ -3,7 +3,7 @@
 use warnings;
 use strict;
 
-use Test::More tests => 11;
+use Test::More tests => 21;
 
 my $search = join(' ', @ARGV) || 'fti_au:denis bratko';
 
@@ -19,7 +19,7 @@ like $hits, qr/^\d+$/, "hits: $hits";
 
 diag "SQL", $o->{sql};
 
-$hits = 3 unless $ENV{DEBUG};
+$hits = 3 if $hits > 3 && ! $ENV{DEBUG};
 
 foreach ( 1 .. $hits ) {