mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
Merge "Revert "Fix a test which will be broken by Hooks::run() migration""
This commit is contained in:
commit
92c3c8dbe1
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue