From 2212d62d83d388cd3a0c01626049de2026c135ea Mon Sep 17 00:00:00 2001 From: Ryan McCue Date: Tue, 8 Nov 2016 06:25:36 +0000 Subject: [PATCH] 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 --- .../tests/rest-api/rest-posts-controller.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/phpunit/tests/rest-api/rest-posts-controller.php b/tests/phpunit/tests/rest-api/rest-posts-controller.php index c1b46bd521..57d5deb10d 100644 --- a/tests/phpunit/tests/rest-api/rest-posts-controller.php +++ b/tests/phpunit/tests/rest-api/rest-posts-controller.php @@ -2065,23 +2065,23 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te array( // Raw values. array( - 'title' => '\o/ ¯\_(ツ)_/¯ 🚢', - 'content' => '\o/ ¯\_(ツ)_/¯ 🚢', - 'excerpt' => '\o/ ¯\_(ツ)_/¯ 🚢', + 'title' => '\o/ ¯\_(ツ)_/¯', + 'content' => '\o/ ¯\_(ツ)_/¯', + 'excerpt' => '\o/ ¯\_(ツ)_/¯', ), // Expected returned values. array( 'title' => array( - 'raw' => '\o/ ¯\_(ツ)_/¯ 🚢', - 'rendered' => '\o/ ¯\_(ツ)_/¯ 🚢', + 'raw' => '\o/ ¯\_(ツ)_/¯', + 'rendered' => '\o/ ¯\_(ツ)_/¯', ), 'content' => array( - 'raw' => '\o/ ¯\_(ツ)_/¯ 🚢', - 'rendered' => '

\o/ ¯\_(ツ)_/¯ 🚢

', + 'raw' => '\o/ ¯\_(ツ)_/¯', + 'rendered' => '

\o/ ¯\_(ツ)_/¯

', ), 'excerpt' => array( - 'raw' => '\o/ ¯\_(ツ)_/¯ 🚢', - 'rendered' => '

\o/ ¯\_(ツ)_/¯ 🚢

', + 'raw' => '\o/ ¯\_(ツ)_/¯', + 'rendered' => '

\o/ ¯\_(ツ)_/¯

', ), ) ),