<?php

use MediaWiki\Auth\AuthenticationRequestTestCase;
use MediaWiki\Extension\TitleBlacklist\TitleBlacklistAuthenticationRequest;

/**
 * @covers \MediaWiki\Extension\TitleBlacklist\TitleBlacklistAuthenticationRequest
 */
class TitleBlacklistAuthenticationRequestTest extends AuthenticationRequestTestCase {
	protected function getInstance( array $args = [] ) {
		return new TitleBlacklistAuthenticationRequest();
	}

	public function provideLoadFromSubmission() {
		return [
			'empty' => [ [], [], [ 'ignoreTitleBlacklist' => false ] ],
			'true' => [ [], [ 'ignoreTitleBlacklist' => '1' ], [ 'ignoreTitleBlacklist' => true ] ],
		];
	}
}
