]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix principal collection for CavDAVTester
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 25 Nov 2015 16:15:40 +0000 (17:15 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 26 Nov 2015 11:15:11 +0000 (12:15 +0100)
apps/dav/lib/rootcollection.php
apps/dav/tests/travis/caldavtest/config/serverinfo.xml

index c0a37a1de9d914207a53fcd0961fa858b5993e15..3e349fa31c91b03ef112d593983860dfff21ccbc 100644 (file)
@@ -28,12 +28,12 @@ class RootCollection extends SimpleCollection {
                $filesCollection = new Files\RootCollection($principalBackend, 'principals/users');
                $filesCollection->disableListing = $disableListing;
                $caldavBackend = new CalDavBackend($db);
-               $calendarRoot = new CalendarRoot($principalBackend, $caldavBackend);
+               $calendarRoot = new CalendarRoot($principalBackend, $caldavBackend, 'principals/users');
                $calendarRoot->disableListing = $disableListing;
 
                $cardDavBackend = new CardDavBackend(\OC::$server->getDatabaseConnection(), $principalBackend);
 
-               $addressBookRoot = new AddressBookRoot($principalBackend, $cardDavBackend);
+               $addressBookRoot = new AddressBookRoot($principalBackend, $cardDavBackend, 'principals/users');
                $addressBookRoot->disableListing = $disableListing;
 
                $children = [
index 24d63d4a3ae4481437cf4a1cf084469c91a39cab..a474bb7135c61f0687f23efdea5ce0024595b85e 100644 (file)
                <!-- relative path to main principal collection-->
                <substitution>
                        <key>$principalcollection:</key>
-                       <value>$root:principals/</value>
+                       <value>$root:principals/users/</value>
                </substitution>
 
                <!-- the core recored type collections-->