]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix dav unit tests
authorJoas Schilling <nickvergessen@owncloud.com>
Mon, 22 Feb 2016 14:47:23 +0000 (15:47 +0100)
committerJoas Schilling <nickvergessen@owncloud.com>
Tue, 23 Feb 2016 08:04:15 +0000 (09:04 +0100)
apps/dav/tests/unit/connector/sabre/filesreportplugin.php

index 83af45d3bcd6708813b848db88595c0ba447303e..78f9e77063cb10e2978a46188a54aca8533de648 100644 (file)
@@ -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 = [