Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
9baf2a87
Commit
9baf2a87
authored
Oct 06, 2016
by
Vincent Petry
Committed by
Thomas Müller
Oct 06, 2016
Browse files
Fix warnings about createMock in share20ocs tests (#26287)
parent
10d19b2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files_sharing/tests/API/Share20OCSTest.php
View file @
9baf2a87
...
...
@@ -1770,7 +1770,7 @@ class Share20OCSTest extends \Test\TestCase {
$date
=
new
\
DateTime
(
'2000-01-01'
);
$folder
=
$this
->
get
Mock
(
'\OCP\Files\Folder'
);
$folder
=
$this
->
create
Mock
(
'\OCP\Files\Folder'
);
$share
=
\
OC
::
$server
->
getShareManager
()
->
newShare
();
$share
...
...
@@ -1823,7 +1823,7 @@ class Share20OCSTest extends \Test\TestCase {
$date
=
new
\
DateTime
(
'2000-01-01'
);
$folder
=
$this
->
get
Mock
(
'\OCP\Files\Folder'
);
$folder
=
$this
->
create
Mock
(
'\OCP\Files\Folder'
);
$share
=
\
OC
::
$server
->
getShareManager
()
->
newShare
();
$share
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment