PrefixSearchTest, SearchEnginePrefixTest: ignore ext. special pages
authorMatthew Flaschen <mflaschen@wikimedia.org>
Thu, 3 Mar 2016 07:16:53 +0000 (02:16 -0500)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 29 Apr 2016 19:53:37 +0000 (15:53 -0400)
commitb257385ff2267075d8b389e9103eeabdf09a6578
tree728e105d903708a2b467d6a725a92d3a6be54c5a
parent54a6360cf4c057b5894711bd995dff5359af926d
PrefixSearchTest, SearchEnginePrefixTest: ignore ext. special pages

It was attempting to do this before, but it didn't handle special pages
registered by hook, and was not clearing the list properly (so it was
too late when wgSpecialPages was cleared).

This would cause the test to fail if certain extensions were
installed (e.g. AbuseFilter).

Change-Id: I9affac5ad00e97326ebf9961bbf709ac22aef498
tests/phpunit/includes/PrefixSearchTest.php
tests/phpunit/includes/search/SearchEnginePrefixTest.php