summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-02-22 15:47:23 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-02-23 09:04:15 +0100
commit3a65bdf4d59fe06919a064e3044cccc27aab5201 (patch)
tree4ba7c1445ddb168e7afb7b48865a9579542b38bc /apps/dav
parentfb8b34bdd00f3ce15825becfb26eed73248581e2 (diff)
downloadnextcloud-server-3a65bdf4d59fe06919a064e3044cccc27aab5201.tar.gz
nextcloud-server-3a65bdf4d59fe06919a064e3044cccc27aab5201.zip
Fix dav unit tests
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/tests/unit/connector/sabre/filesreportplugin.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/dav/tests/unit/connector/sabre/filesreportplugin.php b/apps/dav/tests/unit/connector/sabre/filesreportplugin.php
index 83af45d3bcd..78f9e77063c 100644
--- a/apps/dav/tests/unit/connector/sabre/filesreportplugin.php
+++ b/apps/dav/tests/unit/connector/sabre/filesreportplugin.php
@@ -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 = [