From 1c8e5d6873b1190d73b4139ca9fd7e710ae5d1a3 Mon Sep 17 00:00:00 2001 From: Florin Peter Date: Mon, 20 May 2013 21:46:28 +0200 Subject: added test for failed sharing --- apps/files_encryption/tests/crypt.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/files_encryption/tests/crypt.php') diff --git a/apps/files_encryption/tests/crypt.php b/apps/files_encryption/tests/crypt.php index 5b5a2189a48..6a1f1aef659 100755 --- a/apps/files_encryption/tests/crypt.php +++ b/apps/files_encryption/tests/crypt.php @@ -51,6 +51,7 @@ class Test_Encryption_Crypt extends \PHPUnit_Framework_TestCase $this->dataUrl = realpath(dirname(__FILE__) . '/../lib/crypt.php'); $this->legacyData = realpath(dirname(__FILE__) . '/legacy-text.txt'); $this->legacyEncryptedData = realpath(dirname(__FILE__) . '/legacy-encrypted-text.txt'); + $this->legacyEncryptedDataKey = realpath(dirname(__FILE__) . '/encryption.key'); $this->randomKey = Encryption\Crypt::generateKey(); $keypair = Encryption\Crypt::createKeypair(); @@ -884,6 +885,7 @@ class Test_Encryption_Crypt extends \PHPUnit_Framework_TestCase // tear down $view->unlink($filename); } + // function testEncryption(){ // // $key=uniqid(); -- cgit v1.2.3