ZF2-56: BC in API of Zend\Json\Decoder fails some unit tests


Since the commit f7858efb, Zend\Json\Decoder returns objects instead of arrays in the default behavior. We need to fix some unit tests that use the default second argument of the method decode().

$ phpunit Zend/Controller/
PHPUnit 3.5.10 by Sebastian Bergmann.

.....E.......PHP Fatal error:  Cannot use object of type stdClass as array in zf2/tests/Zend/Controller/Action/Helper/AutoCompleteTest.php on line 101


No comments to display