Merge "Revert "Fix a test which will be broken by Hooks::run() migration""

This commit is contained in:
jenkins-bot 2020-09-16 08:10:07 +00:00 committed by Gerrit Code Review
commit 92c3c8dbe1

View file

@ -430,13 +430,6 @@ class AbuseFilterConsequencesTest extends MediaWikiTestCase {
* @return string The status of the operation, as returned by the API.
*/
private function stashEdit( $title, $text, $summary ) {
// Temporarily disable tests that use this function prior to the new
// PageEditStash constructor being merged
$rm = new ReflectionMethod( PageEditStash::class, '__construct' );
if ( count( $rm->getParameters() ) < 6 ) {
$this->markTestSkipped( 'Requires Id442b0dbe43aba84bd5cf801d86dedc768b082c7' );
}
$editStash = new PageEditStash(
new HashBagOStuff( [] ),
MediaWikiServices::getInstance()->getDBLoadBalancer(),