Changeset 38277 for trunk/tests/phpunit/tests/term/isObjectInTerm.php
- Timestamp:
- 08/18/2016 07:14:52 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/term/isObjectInTerm.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/isObjectInTerm.php
r35242 r38277 147 147 $this->assertSame( $num_queries, $wpdb->num_queries ); 148 148 } 149 150 /** 151 * @ticket 37721 152 */ 153 public function test_invalid_taxonomy_should_return_wp_error_object() { 154 $this->assertWPError( is_object_in_term( 12345, 'foo', 'bar' ) ); 155 } 149 156 }
Note: See TracChangeset
for help on using the changeset viewer.