Skip to content

Commit

Permalink
More debug code.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed May 5, 2014
1 parent e983ee4 commit 8dd26c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/Serialize/test/Horde/Serialize/JsonTest.php
Expand Up @@ -98,7 +98,8 @@ public function testJsonEmpties()
// JSON encode/decode tests (invalid UTF-8 input).
public function testJsonInvalidUTF8Input()
{
var_dump(json_encode(file_get_contents(__DIR__ . '/fixtures/badutf8.txt')),json_last_error());
$data = file_get_contents(__DIR__ . '/fixtures/badutf8.txt');
var_dump(json_encode($data),json_last_error(),$data,Horde_String::convertCharset($data, null, 'UTF-8', true));
$old_error_reporting = error_reporting(E_ALL & ~E_WARNING);
$this->assertEquals(
'"Note: To play video messages sent to email, QuickTime\u00ae 6.5 or higher is required.\n"',
Expand Down

0 comments on commit 8dd26c0

Please sign in to comment.