Fixed Double JSON Encoding

- Updated PPModel to not double encode urls in Json String.
This commit is contained in:
japatel
2014-10-24 14:59:00 -05:00
parent 26726e68c4
commit f55fd3d984
3 changed files with 6 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ class WebProfileTest extends \PHPUnit_Framework_TestCase
*/
public static function getJson()
{
return json_encode(json_decode('{"id":"TestSample","name":"TestSample","flow_config":' .FlowConfigTest::getJson() . ',"input_fields":' .InputFieldsTest::getJson() . ',"presentation":' .PresentationTest::getJson() . '}'));
return '{"id":"TestSample","name":"TestSample","flow_config":' .FlowConfigTest::getJson() . ',"input_fields":' .InputFieldsTest::getJson() . ',"presentation":' .PresentationTest::getJson() . '}';
}
/**