diff --git a/test/classes/plugin/export/PMA_ExportOds_test.php b/test/classes/plugin/export/PMA_ExportOds_test.php index 57aceb551f..b8d02f2082 100644 --- a/test/classes/plugin/export/PMA_ExportOds_test.php +++ b/test/classes/plugin/export/PMA_ExportOds_test.php @@ -192,7 +192,8 @@ class PMA_ExportOds_Test extends PHPUnit_Framework_TestCase { $GLOBALS['ods_buffer'] = 'header'; - $this->expectOutputRegex('/^PK.*content.xml/'); + $this->expectOutputRegex('/^504b.*636f6e74656e742e786d6c2f/'); + $this->setOutputCallback('bin2hex'); $this->assertTrue( $this->object->exportFooter() diff --git a/test/classes/plugin/export/PMA_ExportOdt_test.php b/test/classes/plugin/export/PMA_ExportOdt_test.php index ef8d89e706..46f589fa15 100644 --- a/test/classes/plugin/export/PMA_ExportOdt_test.php +++ b/test/classes/plugin/export/PMA_ExportOdt_test.php @@ -333,7 +333,8 @@ class PMA_ExportOdt_Test extends PHPUnit_Framework_TestCase { $GLOBALS['odt_buffer'] = 'header'; - $this->expectOutputRegex('/^PK.*content.xml/'); + $this->expectOutputRegex('/^504b.*636f6e74656e742e786d6c2f/'); + $this->setOutputCallback('bin2hex'); $this->assertTrue( $this->object->exportFooter()