X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fpassword%2FEncryptedPasswordTest.php;h=6dfdea6994911bf59ac456067618af0fc5df8458;hb=55ffac2024448afd1c73c56fdd369c0f67409afb;hp=7ed971100c74fa4017e77548837ef6fa616c3b9e;hpb=495e8ddf7e6940777f3318a1a2e37d85bfdbdbf1;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/password/EncryptedPasswordTest.php b/tests/phpunit/includes/password/EncryptedPasswordTest.php index 7ed971100c..6dfdea6994 100644 --- a/tests/phpunit/includes/password/EncryptedPasswordTest.php +++ b/tests/phpunit/includes/password/EncryptedPasswordTest.php @@ -9,7 +9,7 @@ class EncryptedPasswordTest extends PasswordTestCase { protected function getTypeConfigs() { return [ 'both' => [ - 'class' => 'EncryptedPassword', + 'class' => EncryptedPassword::class, 'underlying' => 'pbkdf2', 'secrets' => [ md5( 'secret1' ), @@ -18,7 +18,7 @@ class EncryptedPasswordTest extends PasswordTestCase { 'cipher' => 'aes-256-cbc', ], 'secret1' => [ - 'class' => 'EncryptedPassword', + 'class' => EncryptedPassword::class, 'underlying' => 'pbkdf2', 'secrets' => [ md5( 'secret1' ), @@ -26,7 +26,7 @@ class EncryptedPasswordTest extends PasswordTestCase { 'cipher' => 'aes-256-cbc', ], 'secret2' => [ - 'class' => 'EncryptedPassword', + 'class' => EncryptedPassword::class, 'underlying' => 'pbkdf2', 'secrets' => [ md5( 'secret2' ), @@ -34,7 +34,7 @@ class EncryptedPasswordTest extends PasswordTestCase { 'cipher' => 'aes-256-cbc', ], 'pbkdf2' => [ - 'class' => 'Pbkdf2Password', + 'class' => Pbkdf2Password::class, 'algo' => 'sha256', 'cost' => '10', 'length' => '64',