Changeset 38078 for trunk/tests/phpunit/tests/taxonomy.php
- Timestamp:
- 07/17/2016 04:23:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/taxonomy.php
r37954 r38078 255 255 $terms = get_objects_in_term( 1, 'invalid_taxonomy' ); 256 256 $this->assertInstanceOf( 'WP_Error', $terms ); 257 $this->assertEquals( ' Invalid taxonomy', $terms->get_error_message() );257 $this->assertEquals( 'invalid_taxonomy', $terms->get_error_code() ); 258 258 } 259 259
Note: See TracChangeset
for help on using the changeset viewer.