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
This commit is contained in:
Sergey Biryukov
2017-09-23 08:19:54 +00:00
parent 5af4552f6d
commit 784d983f59

View File

@@ -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() {