Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
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
3a65bdf4
Commit
3a65bdf4
authored
Feb 22, 2016
by
Joas Schilling
Browse files
Fix dav unit tests
parent
fb8b34bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/dav/tests/unit/connector/sabre/filesreportplugin.php
View file @
3a65bdf4
...
...
@@ -19,7 +19,7 @@
*
*/
namespace
OCA\DAV\Tests\Unit\
Sabre\
Connector
;
namespace
OCA\DAV\Tests\Unit\Connector
\Sabre
;
use
OCA\DAV\Connector\Sabre\FilesReportPlugin
as
FilesReportPluginImplementation
;
use
Sabre\DAV\Exception\NotFound
;
...
...
@@ -369,7 +369,7 @@ class FilesReportPlugin extends \Test\TestCase {
[
'123'
,
'files'
]
)
->
willReturnMap
([
[
'123'
,
'files'
,
[
'111'
,
'222'
]],
[
'123'
,
'files'
,
0
,
''
,
[
'111'
,
'222'
]],
]);
$rules
=
[
...
...
@@ -391,8 +391,8 @@ class FilesReportPlugin extends \Test\TestCase {
[
'456'
,
'files'
]
)
->
willReturnMap
([
[
'123'
,
'files'
,
[
'111'
,
'222'
]],
[
'456'
,
'files'
,
[
'222'
,
'333'
]],
[
'123'
,
'files'
,
0
,
''
,
[
'111'
,
'222'
]],
[
'456'
,
'files'
,
0
,
''
,
[
'222'
,
'333'
]],
]);
$rules
=
[
...
...
@@ -415,8 +415,8 @@ class FilesReportPlugin extends \Test\TestCase {
[
'456'
,
'files'
]
)
->
willReturnMap
([
[
'123'
,
'files'
,
[
'111'
,
'222'
]],
[
'456'
,
'files'
,
[]],
[
'123'
,
'files'
,
0
,
''
,
[
'111'
,
'222'
]],
[
'456'
,
'files'
,
0
,
''
,
[]],
]);
$rules
=
[
...
...
@@ -439,8 +439,8 @@ class FilesReportPlugin extends \Test\TestCase {
[
'456'
,
'files'
]
)
->
willReturnMap
([
[
'123'
,
'files'
,
[]],
[
'456'
,
'files'
,
[
'111'
,
'222'
]],
[
'123'
,
'files'
,
0
,
''
,
[]],
[
'456'
,
'files'
,
0
,
''
,
[
'111'
,
'222'
]],
]);
$rules
=
[
...
...
@@ -464,9 +464,9 @@ class FilesReportPlugin extends \Test\TestCase {
[
'789'
,
'files'
]
)
->
willReturnMap
([
[
'123'
,
'files'
,
[
'111'
,
'222'
]],
[
'456'
,
'files'
,
[
'333'
]],
[
'789'
,
'files'
,
[
'111'
,
'222'
]],
[
'123'
,
'files'
,
0
,
''
,
[
'111'
,
'222'
]],
[
'456'
,
'files'
,
0
,
''
,
[
'333'
]],
[
'789'
,
'files'
,
0
,
''
,
[
'111'
,
'222'
]],
]);
$rules
=
[
...
...
Write
Preview
Supports
Markdown
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