mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-23 22:54:57 +00:00
Merge "Make SpamBlacklistTest::testSpamEdit pass when temp accounts enabled"
This commit is contained in:
commit
a096d07930
|
@ -146,6 +146,7 @@ class SpamBlacklistTest extends MediaWikiIntegrationTestCase {
|
|||
$article = new Article( $title );
|
||||
$ep = new EditPage( $article );
|
||||
$ep->setContextTitle( $title );
|
||||
$ep->getContext()->setUser( $articleContext->getUser() );
|
||||
|
||||
$ep->importFormData( $req );
|
||||
|
||||
|
|
Loading…
Reference in a new issue