From 784d983f59721ed9e5327a6c8fa996ccdbc97529 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 23 Sep 2017 08:19:54 +0000 Subject: [PATCH] XML-RPC: Update the string in `test_parent_for_nonhierarchical()` to match the string added in [41574]. Props netweb. Fixes #41637. git-svn-id: https://develop.svn.wordpress.org/trunk@41575 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/xmlrpc/wp/editTerm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/xmlrpc/wp/editTerm.php b/tests/phpunit/tests/xmlrpc/wp/editTerm.php index 89af608d3e..b5a132388a 100644 --- a/tests/phpunit/tests/xmlrpc/wp/editTerm.php +++ b/tests/phpunit/tests/xmlrpc/wp/editTerm.php @@ -86,7 +86,7 @@ class Tests_XMLRPC_wp_editTerm extends WP_XMLRPC_UnitTestCase { $result = $this->myxmlrpcserver->wp_editTerm( array( 1, 'editor', 'editor', self::$post_tag, array( 'taxonomy' => 'post_tag', 'parent' => self::$parent_term ) ) ); $this->assertIXRError( $result ); $this->assertEquals( 403, $result->code ); - $this->assertEquals( __( "This taxonomy is not hierarchical so you can't set a parent." ), $result->message ); + $this->assertEquals( __( 'Cannot set parent term, taxonomy is not hierarchical.' ), $result->message ); } function test_parent_empty() {