Opened 9 years ago
Last modified 5 years ago
#34128 new defect (bug)
Tests_Feed_RSS2::test_channel fails when WP_TESTS_TITLE contains an apostrophe
Reported by: | miqrogroove | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Feeds | Keywords: | needs-patch needs-unit-tests |
Focuses: | Cc: |
Description
If the site configuration contains an apostrophe in the site title, the test_channel unit fails.
1) Tests_Feed_RSS2::test_channel Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Rob's Test Blog' +'Rob's Test Blog'
The happens with either of the following configurations:
define( 'WP_TESTS_TITLE', 'Rob\'s Test Blog' );
and
define( 'WP_TESTS_TITLE', 'Rob's Test Blog' );
Change History (4)
Note: See
TracTickets for help on using
tickets.
Sounds reasonable, kind of surprised more tests didn't fail