Unit Tests: The get_smilies_combinations
test was failing when the tests were run with a non-default domain.
Props netweb. Fixes #32025. git-svn-id: https://develop.svn.wordpress.org/trunk@32178 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8453d41a44
commit
c9774eac69
@ -169,7 +169,7 @@ class Tests_Formatting_Smilies extends WP_UnitTestCase {
|
||||
return array (
|
||||
array (
|
||||
'8-O :-(',
|
||||
"\xf0\x9f\x98\xaf <img src=\"http://example.org/wp-includes/images/smilies/frownie.png\" alt=\":-(\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" />"
|
||||
"\xf0\x9f\x98\xaf <img src=\"{$includes_path}frownie.png\" alt=\":-(\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" />"
|
||||
),
|
||||
array (
|
||||
'8-) 8-O',
|
||||
@ -181,7 +181,7 @@ class Tests_Formatting_Smilies extends WP_UnitTestCase {
|
||||
),
|
||||
array (
|
||||
'8-) :-(',
|
||||
"\xf0\x9f\x98\x8e <img src=\"http://example.org/wp-includes/images/smilies/frownie.png\" alt=\":-(\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" />"
|
||||
"\xf0\x9f\x98\x8e <img src=\"{$includes_path}frownie.png\" alt=\":-(\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" />"
|
||||
),
|
||||
array (
|
||||
'8-) :twisted:',
|
||||
@ -189,7 +189,7 @@ class Tests_Formatting_Smilies extends WP_UnitTestCase {
|
||||
),
|
||||
array (
|
||||
'8O :twisted: :( :? :(',
|
||||
"\xf0\x9f\x98\xaf \xf0\x9f\x98\x88 <img src=\"http://example.org/wp-includes/images/smilies/frownie.png\" alt=\":(\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" /> \xf0\x9f\x98\x95 <img src=\"http://example.org/wp-includes/images/smilies/frownie.png\" alt=\":(\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" />"
|
||||
"\xf0\x9f\x98\xaf \xf0\x9f\x98\x88 <img src=\"{$includes_path}frownie.png\" alt=\":(\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" /> \xf0\x9f\x98\x95 <img src=\"{$includes_path}frownie.png\" alt=\":(\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" />"
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user