diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-12 14:11:09 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-18 22:15:17 +0100 |
commit | f772572249f77d27010aab61cbbda2383deff468 (patch) | |
tree | f0d0f8a6b72326fdd85c8cdf9c6db38bbe7b5e72 /apps/dav | |
parent | ed24511185d2b46cc7b1c3756e9247836dabe479 (diff) | |
download | nextcloud-server-f772572249f77d27010aab61cbbda2383deff468.tar.gz nextcloud-server-f772572249f77d27010aab61cbbda2383deff468.zip |
Fix xml namespace in test
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/unit/carddav/sharing/plugintest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/carddav/sharing/plugintest.php b/apps/dav/tests/unit/carddav/sharing/plugintest.php index 3dce0fb6083..19ee075fb4f 100644 --- a/apps/dav/tests/unit/carddav/sharing/plugintest.php +++ b/apps/dav/tests/unit/carddav/sharing/plugintest.php @@ -74,7 +74,7 @@ class PluginTest extends TestCase { $request = new Request(); $request->addHeader('Content-Type', 'application/xml'); $request->setUrl('addressbook1.vcf'); - $request->setBody('<?xml version="1.0" encoding="utf-8" ?><CS:share xmlns:D="DAV:" xmlns:CS="urn:ietf:params:xml:ns:carddav"><CS:set><D:href>principal:principals/admin</D:href><CS:read-write/></CS:set> <CS:remove><D:href>mailto:wilfredo@example.com</D:href></CS:remove></CS:share>'); + $request->setBody('<?xml version="1.0" encoding="utf-8" ?><CS:share xmlns:D="DAV:" xmlns:CS="http://owncloud.org/ns"><CS:set><D:href>principal:principals/admin</D:href><CS:read-write/></CS:set> <CS:remove><D:href>mailto:wilfredo@example.com</D:href></CS:remove></CS:share>'); $response = new Response(); $this->plugin->httpPost($request, $response); } |