[wp-trac] [WordPress Trac] #30866: wordpress-Importer plugin xml parser unit testing fail.
WordPress Trac
noreply at wordpress.org
Tue Dec 30 15:46:36 UTC 2014
#30866: wordpress-Importer plugin xml parser unit testing fail.
--------------------------+-----------------------------
Reporter: edwardkim | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Import | Version: 4.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Wordpress-importer unit testing is fail. In plugins/wordpress-
importer/parsers.php, XML CDATA handler trim a string even nested CDATA.
{{{
1) Tests_Import_Parser::test_escaped_cdata_closing_sequence
Parser WXR_Parser_XML
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Content with nested <![CDATA[ tags ]]> :)'
+'Content with nested <![CDATA[ tags]]> :)'
tests/phpunit/tests/import/parser.php:159
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30866>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list