wiki.techinc.nl/tests/phpunit/unit/includes/search
Gergő Tisza c296cf69b4
Add faux SearchResult and SearchResultSet
The use case is code that uses search internally, but wants to allow
a development setup where search is proxied via some public API and
the actual querying is performed on a production server, instead of
having to set up all the search services + staging content locally.

Also fix a small logic error in SearchResultSet::shrink.

Change-Id: I83931c1a19c1cb747380e17a4aff3b1fadd5fcf3
2019-10-07 16:35:58 +02:00
..
FauxSearchResultSetTest.php Add faux SearchResult and SearchResultSet 2019-10-07 16:35:58 +02:00
FauxSearchResultTest.php Add faux SearchResult and SearchResultSet 2019-10-07 16:35:58 +02:00
SearchIndexFieldTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
SearchSuggestionSetTest.php tests: Prefer assertSame() when comparing the integer 0 2019-09-19 15:35:23 +00:00