mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 22:15:26 +00:00
a766e39ade
Yet another important part to have covered. While for normal edits it already works, for stashed ones it doesn't. That's why we need the patch for checkAllFilters. Since for stashed edits profiling stats are all zeros, this may explain T201334. Changed the timestamp variable to use wfTimestamp instead of time() so that we can fake it inside unit tests. In a subsequent patch we should add average runtime conditions to tests (really tricky). Bug: T201193 Depends-On: Ib17821240b25c972a187e6b5eae42c5ada6c65e7 Change-Id: I5ee7ba44a6cd82a5ddb24fb4127af04d96e647f4 |
||
---|---|---|
.. | ||
parserTests | ||
phpunit |