Merge "Remove unused line"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 2 Jan 2019 12:37:03 +0000 (12:37 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 2 Jan 2019 12:37:03 +0000 (12:37 +0000)
tests/phpunit/includes/password/EncryptedPasswordTest.php

index 6dfdea6..c5d397f 100644 (file)
@@ -72,7 +72,6 @@ class EncryptedPasswordTest extends PasswordTestCase {
                // phpcs:ignore Generic.Files.LineLength
                $hash = ':both:aes-256-cbc:0:izBpxujqC1YbzpCB3qAzgg==:ZqHnitT1pL4YJqKqFES2KEevZYSy2LtlibW5+IMi4XKOGKGy6sE638BXyBbLQQsBtTSrt+JyzwOayKtwIfRbaQsBridx/O1JwBSai1TkGkOsYMBXnlu2Bu/EquCBj5QpjYh7p3Uq4rpiop1KQlin1BJMwnAa1PovhxjpxnYhlhkM4X5ALoGi3XM0bapN48vt';
                $fromHash = $this->passwordFactory->newFromCiphertext( $hash );
-               $fromPlaintext = $this->passwordFactory->newFromPlaintext( 'password', $fromHash );
                $this->assertTrue( $fromHash->update() );
 
                $serialized = $fromHash->toString();