REST API: Remove ship emoji from slashing tests.

Introduced in [39155], but not necessary for the slashing tests. These fail on 5.3, which encodes the emoji as HTML entities.

Props dd32.
See #38609.


git-svn-id: https://develop.svn.wordpress.org/trunk@39156 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan McCue 2016-11-08 06:25:36 +00:00
parent 074d204c12
commit 2212d62d83
1 changed files with 9 additions and 9 deletions

View File

@ -2065,23 +2065,23 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te
array( array(
// Raw values. // Raw values.
array( array(
'title' => '\o/ ¯\_(ツ)_/¯ 🚢', 'title' => '\o/ ¯\_(ツ)_/¯',
'content' => '\o/ ¯\_(ツ)_/¯ 🚢', 'content' => '\o/ ¯\_(ツ)_/¯',
'excerpt' => '\o/ ¯\_(ツ)_/¯ 🚢', 'excerpt' => '\o/ ¯\_(ツ)_/¯',
), ),
// Expected returned values. // Expected returned values.
array( array(
'title' => array( 'title' => array(
'raw' => '\o/ ¯\_(ツ)_/¯ 🚢', 'raw' => '\o/ ¯\_(ツ)_/¯',
'rendered' => '\o/ ¯\_(ツ)_/¯ 🚢', 'rendered' => '\o/ ¯\_(ツ)_/¯',
), ),
'content' => array( 'content' => array(
'raw' => '\o/ ¯\_(ツ)_/¯ 🚢', 'raw' => '\o/ ¯\_(ツ)_/¯',
'rendered' => '<p>\o/ ¯\_(ツ)_/¯ 🚢</p>', 'rendered' => '<p>\o/ ¯\_(ツ)_/¯</p>',
), ),
'excerpt' => array( 'excerpt' => array(
'raw' => '\o/ ¯\_(ツ)_/¯ 🚢', 'raw' => '\o/ ¯\_(ツ)_/¯',
'rendered' => '<p>\o/ ¯\_(ツ)_/¯ 🚢</p>', 'rendered' => '<p>\o/ ¯\_(ツ)_/¯</p>',
), ),
) )
), ),