https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12430

--- Comment #42 from David Cook <[email protected]> ---
(In reply to David Cook from comment #41)
> Created attachment 99142 [details] [review]
> First Draft buildQuery unit test

This isn't complete yet, but it's a first pass before I have to run out of the
office for a few hours.

I need to add more permutations to the tests:

1. like a query with no * or QueryAutoTruncate to see if QueryWeightFields
still works
2. like a more complex CCL/CCLish query
3. Turn on UseQueryParser (even if I think we should soon remove QueryParser
from Koha)
4. Add limits to the unit tests

Note that buildQuery spits out a lot of warnings, but I don't think they're
relevant for this test. Rather, I think they're just indicative that buildQuery
isn't very well written. Of course, these unit tests could be the basis for
improving it. Thanks, Jonathan, for poking me on this one.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to