]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix xml namespace in test
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 12 Jan 2016 13:11:09 +0000 (14:11 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 18 Jan 2016 21:15:17 +0000 (22:15 +0100)
apps/dav/tests/unit/carddav/sharing/plugintest.php

index 3dce0fb6083f554129d7fbaecd49b35eefaeddf6..19ee075fb4f6bdd5e7b94bf6e96cedf09a563e06 100644 (file)
@@ -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);
        }