diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-18 15:10:33 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-19 14:03:46 +0100 |
commit | e1d18a8dedf4c837b73d6950d7275bba096b191a (patch) | |
tree | 974036a6f02f286f89459184731adc527c3156db /apps/dav | |
parent | bf9f4f20e152e31c8f3cdf43f0bbc86c58fff409 (diff) | |
download | nextcloud-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.sh | 5 | ||||
-rw-r--r-- | apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/current-user-principal/1.xml | 6 |
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> |