rdbms: Rename "memCache" to "memStash" in LBFactory
[mediawiki.git] / tests / phpunit / includes / auth / UsernameAuthenticationRequestTest.php
blob63628dd89e14856eb5c6d73677cfdb2b11035537
1 <?php
3 namespace MediaWiki\Auth;
5 /**
6 * @group AuthManager
7 * @covers MediaWiki\Auth\UsernameAuthenticationRequest
8 */
9 class UsernameAuthenticationRequestTest extends AuthenticationRequestTestCase {
11 protected function getInstance( array $args = [] ) {
12 return new UsernameAuthenticationRequest();
15 public function provideLoadFromSubmission() {
16 return [
17 'Empty request' => [
18 [],
19 [],
20 false
22 'Username' => [
23 [],
24 $data = [ 'username' => 'User' ],
25 $data,
27 'Username empty' => [
28 [],
29 [ 'username' => '' ],
30 false