Page MenuHomePhabricator

Add pure unit-tests for SearchMySQL, SearchSqlite etc...
Open, Needs TriagePublic13 Estimated Story Points

Description

Motivation:

Looks like SearchMySQL, SearchSqlite, etc don't seem to have any unit tests.
https://doc.wikimedia.org/cover/mediawiki-core/includes/search/SearchMySQL.php.html

Screenshot 2020-01-27 at 12.59.50.png (80×1 px, 23 KB)

Expected result:

  • More tests should be added.
  • at least classes SearchMySQL, SearchSqlite should be covered 100%

Details

Event Timeline

Change 592326 had a related patch set uploaded (by Art-Baltai; owner: Art-Baltai):
[mediawiki/core@master] Add pure unit-tests for SearchMySQL, SearchSqlite etc

https://gerrit.wikimedia.org/r/592326

Helga_sf added a subscriber: Art-Baltai.
Helga_sf removed a subscriber: Art-Baltai.
Aklapper added a subscriber: roman-stolar.

@roman-stolar: Removing task assignee as this open task has been assigned for more than two years - See the email sent to task assignee on October 11th.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!