]> source.dussan.org Git - nextcloud-server.git/commitdiff
LegacyKeyRecryptKeyfileEncrypt() no longer exists, so test can be removed
authorBjörn Schießle <schiessle@owncloud.com>
Thu, 13 Jun 2013 08:44:05 +0000 (10:44 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 13 Jun 2013 08:44:05 +0000 (10:44 +0200)
apps/files_encryption/tests/crypt.php

index 341904b1189e172beaad069556c12ce8d7aa1b6b..c105e5ad319ff65ebf77670126f22425cb3ee2d7 100755 (executable)
@@ -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
         */