Merge "Make SpamBlacklistTest::testSpamEdit pass when temp accounts enabled"

This commit is contained in:
jenkins-bot 2024-05-10 16:44:27 +00:00 committed by Gerrit Code Review
commit a096d07930

View file

@ -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 );