summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-18 15:10:33 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-19 14:03:46 +0100
commite1d18a8dedf4c837b73d6950d7275bba096b191a (patch)
tree974036a6f02f286f89459184731adc527c3156db /apps/dav
parentbf9f4f20e152e31c8f3cdf43f0bbc86c58fff409 (diff)
downloadnextcloud-server-e1d18a8dedf4c837b73d6950d7275bba096b191a.tar.gz
nextcloud-server-e1d18a8dedf4c837b73d6950d7275bba096b191a.zip
Adjust CalDAV tests
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/tests/travis/caldav/script.sh5
-rw-r--r--apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/current-user-principal/1.xml6
2 files changed, 9 insertions, 2 deletions
diff --git a/apps/dav/tests/travis/caldav/script.sh b/apps/dav/tests/travis/caldav/script.sh
index a295c83ad94..f5db868296f 100644
--- a/apps/dav/tests/travis/caldav/script.sh
+++ b/apps/dav/tests/travis/caldav/script.sh
@@ -9,8 +9,9 @@ sleep 30
# run the tests
cd "$SCRIPTPATH/CalDAVTester"
-PYTHONPATH="$SCRIPTPATH/pycalendar/src" python testcaldav.py --print-details-onfail -s "$SCRIPTPATH/../caldavtest/serverinfo.xml" -o cdt.txt \
- "$SCRIPTPATH/../caldavtest/tests/CalDAV/current-user-principal.xml"
+PYTHONPATH="$SCRIPTPATH/pycalendar/src" python testcaldav.py --print-details-onfail --basedir "$SCRIPTPATH/../caldavtest/" -o cdt.txt \
+ "CalDAV/current-user-principal.xml"
+
RESULT=$?
tail "$/../../../../../data-autotest/owncloud.log"
diff --git a/apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/current-user-principal/1.xml b/apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/current-user-principal/1.xml
new file mode 100644
index 00000000000..77a67c110df
--- /dev/null
+++ b/apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/current-user-principal/1.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:">
+ <D:prop>
+ <D:current-user-principal/>
+ </D:prop>
+</D:propfind>