From 5309ebbbaa280b54cbfd83437051c88eddfa2845 Mon Sep 17 00:00:00 2001 From: Joe Hoyle Date: Thu, 10 Nov 2016 02:47:48 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/rest-api/rest-tags-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/rest-api/rest-tags-controller.php b/tests/phpunit/tests/rest-api/rest-tags-controller.php index aa5d654526..4c461d347d 100644 --- a/tests/phpunit/tests/rest-api/rest-tags-controller.php +++ b/tests/phpunit/tests/rest-api/rest-tags-controller.php @@ -688,7 +688,7 @@ class WP_Test_REST_Tags_Controller extends WP_Test_REST_Controller_Testcase { 'description' => '
div
strong ', ), array( 'name' => 'div strong', - 'description' => 'div strong', + 'description' => 'div strong oh noes', ) ); } else { $this->assertTrue( current_user_can( 'unfiltered_html' ) );