mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-12-11 21:56:24 +00:00
954db277fc
Changes to the use statements done automatically via script Addition of missing use statement done manually Change-Id: I3a7b448f3793f6690bb329a2e5255a558048ed5a
21 lines
657 B
PHP
21 lines
657 B
PHP
<?php
|
|
|
|
use MediaWiki\Extension\TitleBlacklist\TitleBlacklistAuthenticationRequest;
|
|
use MediaWiki\Tests\Auth\AuthenticationRequestTestCase;
|
|
|
|
/**
|
|
* @covers \MediaWiki\Extension\TitleBlacklist\TitleBlacklistAuthenticationRequest
|
|
*/
|
|
class TitleBlacklistAuthenticationRequestTest extends AuthenticationRequestTestCase {
|
|
protected function getInstance( array $args = [] ) {
|
|
return new TitleBlacklistAuthenticationRequest();
|
|
}
|
|
|
|
public static function provideLoadFromSubmission() {
|
|
return [
|
|
'empty' => [ [], [], [ 'ignoreTitleBlacklist' => false ] ],
|
|
'true' => [ [], [ 'ignoreTitleBlacklist' => '1' ], [ 'ignoreTitleBlacklist' => true ] ],
|
|
];
|
|
}
|
|
}
|