Adding sync support - including dav tests
This commit is contained in:
parent
906aea4252
commit
d28390a649
|
@ -39,6 +39,7 @@ class Server {
|
|||
$this->server->addPlugin(new \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin('webdav', $logger));
|
||||
$this->server->addPlugin(new \OCA\DAV\Connector\Sabre\LockPlugin());
|
||||
$this->server->addPlugin(new \OCA\DAV\Connector\Sabre\ListenerPlugin($dispatcher));
|
||||
$this->server->addPlugin(new \Sabre\DAV\Sync\Plugin());
|
||||
|
||||
// calendar plugins
|
||||
$this->server->addPlugin(new \Sabre\CalDAV\Plugin());
|
||||
|
|
|
@ -569,7 +569,7 @@
|
|||
<!-- relative path to user addressbook home-->
|
||||
<substitution>
|
||||
<key>$addressbookhome%d:</key>
|
||||
<value>$addressbooks_uids:$userguid%d:</value>
|
||||
<value>$addressbooks:$userid%d:</value>
|
||||
</substitution>
|
||||
<!-- relative path to user addressbook-->
|
||||
<substitution>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -18,11 +18,14 @@ fi
|
|||
# create test user
|
||||
cd "$SCRIPTPATH/../../../../"
|
||||
OC_PASS=user01 php occ user:add --password-from-env user01
|
||||
php occ dav:create-addressbook user01 addressbook
|
||||
OC_PASS=user02 php occ user:add --password-from-env user02
|
||||
php occ dav:create-addressbook user02 addressbook
|
||||
cd "$SCRIPTPATH/../../../../"
|
||||
|
||||
# run the tests
|
||||
cd "$SCRIPTPATH/CalDAVTester"
|
||||
PYTHONPATH="$SCRIPTPATH/pycalendar/src" python testcaldav.py --print-details-onfail -s "$SCRIPTPATH/caldavtest/config/serverinfo.xml" -o cdt.txt \
|
||||
"$SCRIPTPATH/caldavtest/tests/CardDAV/current-user-principal.xml"
|
||||
"$SCRIPTPATH/caldavtest/tests/CardDAV/current-user-principal.xml" \
|
||||
"$SCRIPTPATH/caldavtest/tests/CardDAV/sync-report.xml"
|
||||
|
||||
|
|
Loading…
Reference in New Issue