[Pkg-owncloud-commits] [php-sabredav] 04/42: More detail when this xml body could not parse. For hhvm testing.

David Prévot taffit at moszumanska.debian.org
Wed Jul 23 16:41:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 24fb741be0bc0dd8a32bfcd35704b8a4b2a21e66
Author: Evert Pot <me at evertpot.com>
Date:   Mon May 26 00:28:54 2014 -0400

    More detail when this xml body could not parse. For hhvm testing.
---
 tests/Sabre/DAV/Mount/PluginTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Sabre/DAV/Mount/PluginTest.php b/tests/Sabre/DAV/Mount/PluginTest.php
index 091c286..435a8af 100644
--- a/tests/Sabre/DAV/Mount/PluginTest.php
+++ b/tests/Sabre/DAV/Mount/PluginTest.php
@@ -47,7 +47,7 @@ class PluginTest extends DAV\AbstractServer {
         $this->assertEquals(200, $this->response->status);
 
         $xml = simplexml_load_string($this->response->body);
-        $this->assertTrue($xml==true,'Response was not a valid xml document');
+        $this->assertTrue($xml==true,'Response was not a valid xml document. The list of errors:' . print_r(libxml_get_errors(),true) . '. xml body: ' . $this->response->body);
 
         $xml->registerXPathNamespace('dm','http://purl.org/NET/webdav/mount');
         $url = $xml->xpath('//dm:url');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list