mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-25 05:34:32 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user