Ver Fonte

[TESTS] Backport r24479 to trunk

Do not flush XMLWriter

- XML-RPC XMLWriter-based generation was flushing output, which caused test
  failures. Changed flag to not flush

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24480 44c647ce-9c0f-0410-b52a-842ac1e357ba
matthew há 14 anos atrás
pai
commit
515d3d4dd4
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      library/Zend/XmlRpc/Generator/XmlWriter.php

+ 3 - 2
library/Zend/XmlRpc/Generator/XmlWriter.php

@@ -87,6 +87,7 @@ class Zend_XmlRpc_Generator_XmlWriter extends Zend_XmlRpc_Generator_GeneratorAbs
 
     public function saveXml()
     {
-        return $this->_xmlWriter->flush(true);
+        $xml = $this->_xmlWriter->flush(false);
+        return $xml;
     }
-}
+}