"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Serializer/Tests/Encoder/JsonEncodeTest.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

JsonEncodeTest.php  (phplist-3.4.5.tgz):JsonEncodeTest.php  (phplist-3.4.6.tgz)
skipping to change at line 54 skipping to change at line 54
public function encodeProvider() public function encodeProvider()
{ {
return [ return [
[[], '[]', []], [[], '[]', []],
[[], '{}', ['json_encode_options' => JSON_FORCE_OBJECT]], [[], '{}', ['json_encode_options' => JSON_FORCE_OBJECT]],
]; ];
} }
/** /**
* @requires function json_last_error_msg * @requires function json_last_error_msg
* @expectedException \Symfony\Component\Serializer\Exception\UnexpectedValu eException
*/ */
public function testEncodeWithError() public function testEncodeWithError()
{ {
$this->expectException('Symfony\Component\Serializer\Exception\Unexpecte dValueException');
$this->encode->encode("\xB1\x31", JsonEncoder::FORMAT); $this->encode->encode("\xB1\x31", JsonEncoder::FORMAT);
} }
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)