Writing one for the API module might be an easy place to start.
Coverage report: https://doc.wikimedia.org/cover-extensions/SpamBlacklist/includes/index.html
Writing one for the API module might be an easy place to start.
Coverage report: https://doc.wikimedia.org/cover-extensions/SpamBlacklist/includes/index.html
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T87402 SpamBlacklist needs unit tests | |||
Invalid | 01tonythomas | T104064 SpamBlacklist always returning "OK" ? |
Change 221368 had a related patch set uploaded (by 01tonythomas):
Add API tests to SpamBlacklist
Change 221368 abandoned by 01tonythomas:
Add API tests to SpamBlacklist
Reason:
Abandon as out of scope.
Change 773912 had a related patch set uploaded (by Samwalton9; author: Samwalton9):
[mediawiki/extensions/SpamBlacklist@master] Add API tests to SpamBlacklist
I took @01tonythomas' work and fixed it up, it now seems to be working for both good and bad URLs :)
Change 773912 abandoned by Samwalton9:
[mediawiki/extensions/SpamBlacklist@master] Add API tests to SpamBlacklist
Reason:
Un-assigning myself - SpamBlacklist is being merged into AbuseFilter in T337431 so writing these tests is not useful.