Changeset 42343 for trunk/tests/phpunit/tests/xmlrpc/wp/deleteTerm.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/deleteTerm.php
r41684 r42343 8 8 9 9 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { 10 self::$term_id = $factory->term->create( array( 11 'taxonomy' => 'category', 12 ) ); 10 self::$term_id = $factory->term->create( 11 array( 12 'taxonomy' => 'category', 13 ) 14 ); 13 15 } 14 16 … … 52 54 $this->assertIXRError( $result ); 53 55 $this->assertEquals( 500, $result->code ); 54 $this->assertEquals( __( 'Empty Term.'), $result->message );56 $this->assertEquals( __( 'Empty Term.' ), $result->message ); 55 57 } 56 58
Note: See TracChangeset
for help on using the changeset viewer.