Merge "Selenium: replace UserLoginPage with BlankPage where possible"
[lhc/web/wiklou.git] / tests / phpunit / includes / libs / ParamValidator / TypeDef / PasswordDefTest.php
1 <?php
2
3 namespace Wikimedia\ParamValidator\TypeDef;
4
5 use Wikimedia\ParamValidator\ParamValidator;
6
7 require_once __DIR__ . '/StringDefTest.php';
8
9 /**
10 * @covers Wikimedia\ParamValidator\TypeDef\PasswordDef
11 */
12 class PasswordDefTest extends StringDefTest {
13
14 protected static $testClass = PasswordDef::class;
15
16 public function provideNormalizeSettings() {
17 return [
18 [ [], [ ParamValidator::PARAM_SENSITIVE => true ] ],
19 [ [ ParamValidator::PARAM_SENSITIVE => false ], [ ParamValidator::PARAM_SENSITIVE => true ] ],
20 ];
21 }
22
23 }