diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-15 10:20:40 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-08-15 11:28:05 +0200 |
commit | 3e13e9425417bcab4a61067bb1cd862cfa7e6a3f (patch) | |
tree | 0af2f30f699c4c97be7edd679b669d9277c39d22 /tests | |
parent | c5c23b30b9f510ce211d9fa3187dc3c8cff4116e (diff) | |
download | nextcloud-server-3e13e9425417bcab4a61067bb1cd862cfa7e6a3f.tar.gz nextcloud-server-3e13e9425417bcab4a61067bb1cd862cfa7e6a3f.zip |
Use proper methods for checkPasswordProtectedShare
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Share/ShareTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Share/ShareTest.php b/tests/lib/Share/ShareTest.php index 0442e06fc45..cf4c553c536 100644 --- a/tests/lib/Share/ShareTest.php +++ b/tests/lib/Share/ShareTest.php @@ -501,7 +501,7 @@ class ShareTest extends \Test\TestCase { */ public function testCheckPasswordProtectedShare($expected, $item) { \OC::$server->getSession()->set('public_link_authenticated', '100'); - $result = \OCP\Share::checkPasswordProtectedShare($item); + $result = \OC\Share\Share::checkPasswordProtectedShare($item); $this->assertEquals($expected, $result); } |