Make WordPress Core

Changeset 39156


Ignore:
Timestamp:
11/08/2016 06:25:36 AM (10 years ago)
Author:
rmccue
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php

    r39155 r39156  
    20662066                                // Raw values.
    20672067                                array(
    2068                                         'title'   => '\o/ ¯\_(ツ)_/¯ 🚢',
    2069                                         'content' => '\o/ ¯\_(ツ)_/¯ 🚢',
    2070                                         'excerpt' => '\o/ ¯\_(ツ)_/¯ 🚢',
     2068                                        'title'   => '\o/ ¯\_(ツ)_/¯',
     2069                                        'content' => '\o/ ¯\_(ツ)_/¯',
     2070                                        'excerpt' => '\o/ ¯\_(ツ)_/¯',
    20712071                                ),
    20722072                                // Expected returned values.
    20732073                                array(
    20742074                                        'title' => array(
    2075                                                 'raw'      => '\o/ ¯\_(ツ)_/¯ 🚢',
    2076                                                 'rendered' => '\o/ ¯\_(ツ)_/¯ 🚢',
     2075                                                'raw'      => '\o/ ¯\_(ツ)_/¯',
     2076                                                'rendered' => '\o/ ¯\_(ツ)_/¯',
    20772077                                        ),
    20782078                                        'content' => array(
    2079                                                 'raw'      => '\o/ ¯\_(ツ)_/¯ 🚢',
    2080                                                 'rendered' => '<p>\o/ ¯\_(ツ)_/¯ 🚢</p>',
     2079                                                'raw'      => '\o/ ¯\_(ツ)_/¯',
     2080                                                'rendered' => '<p>\o/ ¯\_(ツ)_/¯</p>',
    20812081                                        ),
    20822082                                        'excerpt' => array(
    2083                                                 'raw'      => '\o/ ¯\_(ツ)_/¯ 🚢',
    2084                                                 'rendered' => '<p>\o/ ¯\_(ツ)_/¯ 🚢</p>',
     2083                                                'raw'      => '\o/ ¯\_(ツ)_/¯',
     2084                                                'rendered' => '<p>\o/ ¯\_(ツ)_/¯</p>',
    20852085                                        ),
    20862086                                )
Note: See TracChangeset for help on using the changeset viewer.