Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-08-21 12:53:18 +0400
committerAndreas Fischer <bantu@owncloud.com>2013-08-21 12:53:18 +0400
commit85ac9572ce4f43d1a87dfdfd898b17493f9f8539 (patch)
treee61c3712525363b1e3eee651a5658629c6a8db37 /apps/files_encryption/tests/crypt.php
parent9753e44ac2352d181417dfea2781f5d4df5f7b47 (diff)
Also remove other unnecessary realpath() calls.
Diffstat (limited to 'apps/files_encryption/tests/crypt.php')
-rwxr-xr-xapps/files_encryption/tests/crypt.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_encryption/tests/crypt.php b/apps/files_encryption/tests/crypt.php
index a4bb3054efe..188606ee1c5 100755
--- a/apps/files_encryption/tests/crypt.php
+++ b/apps/files_encryption/tests/crypt.php
@@ -67,12 +67,12 @@ class Test_Encryption_Crypt extends \PHPUnit_Framework_TestCase {
$this->pass = \Test_Encryption_Crypt::TEST_ENCRYPTION_CRYPT_USER1;
// set content for encrypting / decrypting in tests
- $this->dataLong = file_get_contents(realpath(dirname(__FILE__) . '/../lib/crypt.php'));
+ $this->dataLong = file_get_contents(dirname(__FILE__) . '/../lib/crypt.php');
$this->dataShort = 'hats';
- $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->dataUrl = dirname(__FILE__) . '/../lib/crypt.php';
+ $this->legacyData = dirname(__FILE__) . '/legacy-text.txt';
+ $this->legacyEncryptedData = dirname(__FILE__) . '/legacy-encrypted-text.txt';
+ $this->legacyEncryptedDataKey = dirname(__FILE__) . '/encryption.key';
$this->randomKey = Encryption\Crypt::generateKey();
$keypair = Encryption\Crypt::createKeypair();