diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-04-18 17:44:14 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-04-18 17:44:14 +0200 |
commit | 582b679ca93d3a9801bec98494203fa257cbca90 (patch) | |
tree | 831c3bb9452f83358343881ce8deaacff640d8f8 /tests | |
parent | 9f9b89fcc7f90b6c36075316b70e2f7fa26cb2c3 (diff) | |
download | nextcloud-server-582b679ca93d3a9801bec98494203fa257cbca90.tar.gz nextcloud-server-582b679ca93d3a9801bec98494203fa257cbca90.zip |
Deprecate legacy share code and cleanup some unused methods
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Share/ShareTest.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/lib/Share/ShareTest.php b/tests/lib/Share/ShareTest.php index 9530f9a596c..4d3b48b7aa4 100644 --- a/tests/lib/Share/ShareTest.php +++ b/tests/lib/Share/ShareTest.php @@ -134,20 +134,6 @@ class ShareTest extends \Test\TestCase { parent::tearDown(); } - /** - * @param boolean|string $token - * @return array - */ - protected function getShareByValidToken($token) { - $row = \OCP\Share::getShareByToken($token); - $this->assertInternalType( - 'array', - $row, - "Failed asserting that a share for token $token exists." - ); - return $row; - } - public function testGetItemSharedWithUser() { \OC_User::setUserId($this->user1->getUID()); |