Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
3c173378
Unverified
Commit
3c173378
authored
8 years ago
by
Roeland Jago Douma
Browse files
Options
Downloads
Patches
Plain Diff
Fix typehint
Signed-off-by:
Roeland Jago Douma
<
roeland@famdouma.nl
>
parent
2806a4bc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/lib/Share20/DefaultShareProviderTest.php
+2
-2
2 additions, 2 deletions
tests/lib/Share20/DefaultShareProviderTest.php
with
2 additions
and
2 deletions
tests/lib/Share20/DefaultShareProviderTest.php
+
2
−
2
View file @
3c173378
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
* @author Roeland Jago Douma <rullzer@owncloud.com>
* @author Roeland Jago Douma <rullzer@owncloud.com>
*
*
* @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright Copyright (c) 2016, Roeland Jago Douma <roeland@famdouma.nl>
* @license AGPL-3.0
* @license AGPL-3.0
*
*
* This code is free software: you can redistribute it and/or modify
* This code is free software: you can redistribute it and/or modify
...
@@ -20,7 +21,6 @@
...
@@ -20,7 +21,6 @@
*/
*/
namespace
Test\Share20
;
namespace
Test\Share20
;
use
OC\Authentication\Token\DefaultTokenMapper
;
use
OCP\DB\QueryBuilder\IQueryBuilder
;
use
OCP\DB\QueryBuilder\IQueryBuilder
;
use
OCP\Files\File
;
use
OCP\Files\File
;
use
OCP\Files\Folder
;
use
OCP\Files\Folder
;
...
@@ -485,7 +485,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
...
@@ -485,7 +485,7 @@ class DefaultShareProviderTest extends \Test\TestCase {
$share
->
method
(
'getId'
)
->
willReturn
(
$id
);
$share
->
method
(
'getId'
)
->
willReturn
(
$id
);
$share
->
method
(
'getShareType'
)
->
willReturn
(
\OCP\Share
::
SHARE_TYPE_GROUP
);
$share
->
method
(
'getShareType'
)
->
willReturn
(
\OCP\Share
::
SHARE_TYPE_GROUP
);
/** @var Default
TokenMapp
er $provider */
/** @var Default
ShareProvid
er $provider */
$provider
=
$this
->
getMockBuilder
(
DefaultShareProvider
::
class
)
$provider
=
$this
->
getMockBuilder
(
DefaultShareProvider
::
class
)
->
setConstructorArgs
([
->
setConstructorArgs
([
$this
->
dbConn
,
$this
->
dbConn
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment