diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-08-15 15:37:16 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-08-15 15:48:44 +0200 |
commit | 5a2fef43095d7a303041b6ffff7197c7af8e698d (patch) | |
tree | 1109d6b776348740b02e4b3601eea4478b38670e | |
parent | 1fff77f5de6f0cd3810a23f5b666452a5769bb1c (diff) | |
download | nextcloud-server-5a2fef43095d7a303041b6ffff7197c7af8e698d.tar.gz nextcloud-server-5a2fef43095d7a303041b6ffff7197c7af8e698d.zip |
login as user1 before performing a test
-rwxr-xr-x | apps/files_encryption/tests/crypt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/tests/crypt.php b/apps/files_encryption/tests/crypt.php index 5eb9580e3b4..1bebb3cd36c 100755 --- a/apps/files_encryption/tests/crypt.php +++ b/apps/files_encryption/tests/crypt.php @@ -61,7 +61,7 @@ class Test_Encryption_Crypt extends \PHPUnit_Framework_TestCase { function setUp() { // set user id - \OC_User::setUserId(\Test_Encryption_Crypt::TEST_ENCRYPTION_CRYPT_USER1); + \Test_Encryption_Util::loginHelper(\Test_Encryption_Crypt::TEST_ENCRYPTION_CRYPT_USER1); $this->userId = \Test_Encryption_Crypt::TEST_ENCRYPTION_CRYPT_USER1; $this->pass = \Test_Encryption_Crypt::TEST_ENCRYPTION_CRYPT_USER1; |