From: Björn Schießle Date: Thu, 13 Jun 2013 08:44:05 +0000 (+0200) Subject: LegacyKeyRecryptKeyfileEncrypt() no longer exists, so test can be removed X-Git-Tag: v6.0.0alpha2~642^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2f1005f05fda3f2df5a02e1faf976682b5af319f;p=nextcloud-server.git LegacyKeyRecryptKeyfileEncrypt() no longer exists, so test can be removed --- diff --git a/apps/files_encryption/tests/crypt.php b/apps/files_encryption/tests/crypt.php index 341904b1189..c105e5ad319 100755 --- a/apps/files_encryption/tests/crypt.php +++ b/apps/files_encryption/tests/crypt.php @@ -611,24 +611,6 @@ class Test_Encryption_Crypt extends \PHPUnit_Framework_TestCase { } - /** - * @medium - * @brief test decryption using legacy blowfish method - * @depends testLegacyEncryptLong - */ - function testLegacyKeyRecryptKeyfileEncrypt($crypted) { - - $recrypted = Encryption\Crypt::LegacyKeyRecryptKeyfile($crypted, $this->pass, array($this->genPublicKey)); - - $this->assertNotEquals($this->dataLong, $recrypted['data']); - - return $recrypted; - - # TODO: search inencrypted text for actual content to ensure it - # genuine transformation - - } - /** * @medium */