mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Fix UserIdentityValue constructor call in test
Change-Id: If905e442444d319114e86ce78007bdc6dbc9c9f2 Needed-By: I9925906d11e47efaec3c1f48d5cb3f9896a982c1
This commit is contained in:
parent
92ffc1a7ed
commit
e954ecfe19
|
@ -29,7 +29,7 @@ class BlockAutopromoteTest extends MediaWikiUnitTestCase {
|
|||
* @covers ::execute
|
||||
*/
|
||||
public function testExecute_anonymous() {
|
||||
$user = new UserIdentityValue( 0, 'Anonymous user', 1 );
|
||||
$user = new UserIdentityValue( 0, 'Anonymous user' );
|
||||
$params = $this->provideGetMessageParameters( $user )->current()[0];
|
||||
$blockAutopromoteStore = $this->createMock( BlockAutopromoteStore::class );
|
||||
$blockAutopromoteStore->expects( $this->never() )
|
||||
|
|
Loading…
Reference in a new issue