REST API: Fix test for unfiltered_html under multisite.

See #38726.


git-svn-id: https://develop.svn.wordpress.org/trunk@39193 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Joe Hoyle 2016-11-10 02:47:48 +00:00
parent 660333387e
commit 5309ebbbaa
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ class WP_Test_REST_Tags_Controller extends WP_Test_REST_Controller_Testcase {
'description' => '<div>div</div> <strong>strong</strong> <script>oh noes</script>',
), array(
'name' => 'div strong',
'description' => 'div <strong>strong</strong>',
'description' => 'div <strong>strong</strong> oh noes',
) );
} else {
$this->assertTrue( current_user_can( 'unfiltered_html' ) );