summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-10-10 22:13:27 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-10 22:13:51 +0200
commit3c173378e8f79c66838df7a32ee50afacd8fb021 (patch)
treecec53e4fc7f2b658e7fd26cc6e99b6ac767e67e6 /tests
parent2806a4bca78e2fc92ece696e94fe737a002b0a5e (diff)
downloadnextcloud-server-3c173378e8f79c66838df7a32ee50afacd8fb021.tar.gz
nextcloud-server-3c173378e8f79c66838df7a32ee50afacd8fb021.zip
Fix typehint
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Share20/DefaultShareProviderTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Share20/DefaultShareProviderTest.php b/tests/lib/Share20/DefaultShareProviderTest.php
index 11a85fb54d0..0ae2ef922fc 100644
--- a/tests/lib/Share20/DefaultShareProviderTest.php
+++ b/tests/lib/Share20/DefaultShareProviderTest.php
@@ -3,6 +3,7 @@
* @author Roeland Jago Douma <rullzer@owncloud.com>
*
* @copyright Copyright (c) 2015, ownCloud, Inc.
+ * @copyright Copyright (c) 2016, Roeland Jago Douma <roeland@famdouma.nl>
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
@@ -20,7 +21,6 @@
*/
namespace Test\Share20;
-use OC\Authentication\Token\DefaultTokenMapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\Files\File;
use OCP\Files\Folder;
@@ -485,7 +485,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
$share->method('getId')->willReturn($id);
$share->method('getShareType')->willReturn(\OCP\Share::SHARE_TYPE_GROUP);
- /** @var DefaultTokenMapper $provider */
+ /** @var DefaultShareProvider $provider */
$provider = $this->getMockBuilder(DefaultShareProvider::class)
->setConstructorArgs([
$this->dbConn,