Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update test expectations

  • Loading branch information...
commit 0bc7a1000a781d2d27be5e78459c10622f511442 1 parent 922a094
Daniel O'Connor authored
3  tests/XML_RPC2/phpBackend/encoding/request.phpt
@@ -15,4 +15,5 @@ $request->addParameter(false);
15 15
 var_dump($request->encode());
16 16
 ?>
17 17
 --EXPECT--
18  
-string(440) "<?xml version="1.0" encoding="utf-8"?><methodCall><methodName>foo.bar</methodName><params><param><value><string>a string</string></value></param><param><value><int>125</int></value></param><param><value><double>125.2</double></value></param><param><value><dateTime.iso8601>2005-01-03</dateTime.iso8601></value></param><param><value><boolean>1</boolean></value></param><param><value><boolean>0</boolean></value></param></params></methodCall>"
  18
+string(441) "<?xml version="1.0" encoding="utf-8"?>
  19
+<methodCall><methodName>foo.bar</methodName><params><param><value><string>a string</string></value></param><param><value><int>125</int></value></param><param><value><double>125.2</double></value></param><param><value><dateTime.iso8601>2005-01-03</dateTime.iso8601></value></param><param><value><boolean>1</boolean></value></param><param><value><boolean>0</boolean></value></param></params></methodCall>"
3  tests/XML_RPC2/phpBackend/encoding/response.phpt
@@ -7,4 +7,5 @@ require_once 'XML/RPC2/Backend/Php/Response.php';
7 7
 var_dump(XML_RPC2_Backend_Php_Response::encode(array(1, true, 'a string')));
8 8
 ?>
9 9
 --EXPECT--
10  
-string(248) "<?xml version="1.0" encoding="utf-8"?><methodResponse><params><param><value><array><data><value><int>1</int></value><value><boolean>1</boolean></value><value><string>a string</string></value></data></array></value></param></params></methodResponse>"
  10
+string(249) "<?xml version="1.0" encoding="utf-8"?>
  11
+<methodResponse><params><param><value><array><data><value><int>1</int></value><value><boolean>1</boolean></value><value><string>a string</string></value></data></array></value></param></params></methodResponse>"
3  tests/XML_RPC2/phpBackend/encoding/response2.phpt
@@ -7,4 +7,5 @@ require_once 'XML/RPC2/Backend/Php/Response.php';
7 7
 var_dump(XML_RPC2_Backend_Php_Response::encodeFault(2,'A fault string'));
8 8
 ?>
9 9
 --EXPECT--
10  
-string(271) "<?xml version="1.0" encoding="utf-8"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>2</int></value></member><member><name>faultString</name><value><string>A fault string</string></value></member></struct></value></fault></methodResponse>"
  10
+string(272) "<?xml version="1.0" encoding="utf-8"?>
  11
+<methodResponse><fault><value><struct><member><name>faultCode</name><value><int>2</int></value></member><member><name>faultString</name><value><string>A fault string</string></value></member></struct></value></fault></methodResponse>"

0 notes on commit 0bc7a10

Please sign in to comment.
Something went wrong with that request. Please try again.