Bug 11202: (follow-up) update number of expected tests for t/QueryParser.t
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
0e92d21d0e
commit
c9dd8b8bc3
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ ok(defined $QParser, 'Successfully created empty QP object');
|
|||
ok($QParser->load_config('./etc/searchengine/queryparser.yaml'), 'Loaded QP config');
|
||||
|
||||
is($QParser->search_class_count, 4, 'Initialized 4 search classes');
|
||||
is (scalar(@{$QParser->search_fields()->{'keyword'}}), 108, "Correct number of search fields for 'keyword' class");
|
||||
is (scalar(@{$QParser->search_fields()->{'keyword'}}), 109, "Correct number of search fields for 'keyword' class");
|
||||
|
||||
is($QParser->target_syntax('biblioserver', 'smith'), '@or @or @attr 1=1016 @attr 4=6 "smith" @attr 9=20 @attr 2=102 @attr 4=6 "smith" @attr 9=34 @attr 2=102 @attr 4=6 "smith"', 'super simple keyword query');
|
||||
is($QParser->target_syntax('biblioserver', 'au:smith'), '@attr 1=1003 @attr 4=6 "smith"', 'simple author query');
|
||||
|
|
Loading…
Reference in a new issue