summaryrefslogtreecommitdiffstats
path: root/tests/lib/Share/ShareTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Share/ShareTest.php')
-rw-r--r--tests/lib/Share/ShareTest.php14
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());