Make OutputFilter::_EncodeXML protected so that the test can access it.
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 19 May 2013 20:57:32 +0000 (16:57 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 19 May 2013 20:57:32 +0000 (16:57 -0400)
http/output_filter.php

index c9531596751a5ed02abfda2a2a0f6ab560a6fda0..1e1925abf0f99c120e9391b74d8cb5bac7da4eba 100644 (file)
@@ -151,7 +151,7 @@ class OutputFilter
   /*!
     Creates an XML tree from an array. Equivalent to json_encode.
   */
-  private function _EncodeXML($data)
+  protected function _EncodeXML($data)
   {
     $response = new \SimpleXMLElement('<response/>');