diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-12-03 17:03:11 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-12-09 09:47:27 +0100 |
commit | e67fe0336bde1b10c1b2ba3dc455a9106cfc4be9 (patch) | |
tree | 4e392e9a6fa83780ba168d8c4c4ddffbadcc8be1 /apps/files_encryption/tests/util.php | |
parent | efac8ced90879f34919eb55055423523b146d33e (diff) | |
download | nextcloud-server-e67fe0336bde1b10c1b2ba3dc455a9106cfc4be9.tar.gz nextcloud-server-e67fe0336bde1b10c1b2ba3dc455a9106cfc4be9.zip |
Use self:: instead of the class name in encryption tests
Diffstat (limited to 'apps/files_encryption/tests/util.php')
-rwxr-xr-x | apps/files_encryption/tests/util.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_encryption/tests/util.php b/apps/files_encryption/tests/util.php index 8496772a135..9d8b45213dc 100755 --- a/apps/files_encryption/tests/util.php +++ b/apps/files_encryption/tests/util.php @@ -553,13 +553,13 @@ class Test_Encryption_Util extends \OCA\Files_Encryption\Tests\TestCase { $publicShareKeyId, $recoveryKeyId, ); - \Test_Encryption_Util::loginHelper('readyUser', true); - \Test_Encryption_Util::loginHelper('notReadyUser', true); + self::loginHelper('readyUser', true); + self::loginHelper('notReadyUser', true); // delete encryption dir to make it not ready $this->view->unlink('notReadyUser/files_encryption/'); // login as user1 - \Test_Encryption_Util::loginHelper(\Test_Encryption_Util::TEST_ENCRYPTION_UTIL_USER1); + self::loginHelper(self::TEST_ENCRYPTION_UTIL_USER1); $result = $this->util->filterShareReadyUsers($usersToTest); $this->assertEquals( |