Make WordPress Core

Ticket #41637: 41637.2.patch

File 41637.2.patch, 772 bytes (added by netweb, 9 years ago)
  • tests/phpunit/tests/xmlrpc/wp/editTerm.php

     
    8686                $result = $this->myxmlrpcserver->wp_editTerm( array( 1, 'editor', 'editor', self::$post_tag, array( 'taxonomy' => 'post_tag', 'parent' => self::$parent_term ) ) );
    8787                $this->assertIXRError( $result );
    8888                $this->assertEquals( 403, $result->code );
    89                 $this->assertEquals( __( "This taxonomy is not hierarchical so you can't set a parent." ), $result->message );
     89                $this->assertEquals( __( "Cannot set parent term, taxonomy is not hierarchical." ), $result->message );
    9090        }
    9191
    9292        function test_parent_empty() {