mediawiki-extensions-AbuseF.../tests/phpunit
Daimona Eaytoy 44ea3aa7f4 Fix generation of HTML vars, simplify tests
-new_html: also strip the "Transclusion limit" comment if present, and
anyway take it into account (as well as a "</div>"), which right now
prevent the PP limit report from being stripped as well.
-new_text: trim extra whitespace on the right, which is created when
stripping the aforementioned comments.

Also simplify the test for getEditVars, make it not blindly copy what
AFComputedVariable does.

Extra: kill a temporary variable.

These changes are partly taken from
I96785c6c5fdf381c21d5f8930ee12e706abb7f3f.

Change-Id: I2b4c84a3d9d0d17ce229088197b75781d5181b4f
2020-01-12 17:44:02 +00:00
..
unit Merge "Always evaluate the offset when retrieving array elements" 2019-12-27 09:58:50 +00:00
AbuseFilterConsequencesTest.php build: Upgrade mediawiki-codesniffer to v28.0.0 2019-10-09 18:34:07 +00:00
AbuseFilterDBTest.php Fix generation of HTML vars, simplify tests 2020-01-12 17:44:02 +00:00
AbuseFilterParserEquivsetTest.php Add a base class for parser transition 2019-12-15 13:29:56 +00:00
AbuseFilterSaveTest.php Remove usages of deprecated User methods 2019-10-30 12:51:01 +00:00
AbuseFilterTest.php build: Upgrade mediawiki-codesniffer to v28.0.0 2019-10-09 18:34:07 +00:00