aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiQueryPrefixSearchTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Move ApiQuery* tests under the /query subdirectoryAaron Schulz2020-10-301-59/+0
| | | | | | | | Consistency aside, this is useful for grouping more tests into separate threads when using directory based suites. Bug: T50217 Change-Id: Ife9acd5990c4ae4a5fc18371559e93d7d86fb57d
* Fix visibility of setUp/tearDownThiemo Kreuz2020-06-161-1/+1
| | | | Change-Id: I636be48eb9f713680abac35d46091f7b49374696
* Fix tests/ PSR12.Properties.ConstantVisibility.NotFoundReedy2020-05-161-1/+1
| | | | Change-Id: I0beed1a35e046705fb84c9d1f63cf92afd009bb4
* tests: Add explicit return type void to setUp() and tearDown()Max Semenik2019-10-301-1/+1
| | | | | | Bug: T192167 Depends-On: I581e54278ac5da3f4e399e33f2c7ad468bae6b43 Change-Id: I3a21fb55db76bac51afdd399cf40ed0760e4f343
* Ensure database is setup in MediaWikiTestCase::insertPageUmherirrender2018-09-141-0/+1
| | | | | | | | | Also in editPage Add missing @group Database Depends-On: Id81425fff0a41c651c1967698124246befcdb032 Depends-On: If97d9e6e525465ca3879003e71dd5e67fc0afdfd Change-Id: I3bfd478769e0907913834c9639af4375223638cc
* Silently drop unknown titles in completion searchErik Bernhardson2018-06-111-8/+18
| | | | | | | | | | | | | This mimics how full text works by silenty dropping results returned from search that no longer exist. This could be because the search index is slightly out of sync with reality, or the search engine could simply be broken. Only silent from the users perspective. We maintain a count in statsd of the number of titles dropped. This can be monitored over time to recognize any increases. Bug: T115756 Change-Id: I2f29d73e258cd448a14d35a2b4902a4fb6f61c68
* Push pagination decision for search into SearchEngineErik Bernhardson2018-06-111-0/+48
Various code using the search engine shouldn't need to implement it's own methods, such as over-fetching, to determine if there are more results available. This should be knowledge internal to search that is exposed by a boolean. Change-Id: Ica094428700637dfdedb723b03f6aeadfe12b9f4