Ticket #41637: 41637.2.patch
| File 41637.2.patch, 772 bytes (added by , 9 years ago) |
|---|
-
tests/phpunit/tests/xmlrpc/wp/editTerm.php
86 86 $result = $this->myxmlrpcserver->wp_editTerm( array( 1, 'editor', 'editor', self::$post_tag, array( 'taxonomy' => 'post_tag', 'parent' => self::$parent_term ) ) ); 87 87 $this->assertIXRError( $result ); 88 88 $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 ); 90 90 } 91 91 92 92 function test_parent_empty() {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)