Changeset 42228 for trunk/tests/phpunit/tests/term/getTerm.php
- Timestamp:
- 11/26/2017 11:56:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTerm.php
r35537 r42228 146 146 * @ticket 34332 147 147 */ 148 148 public function test_should_return_null_when_provided_taxonomy_does_not_match_actual_term_taxonomy() { 149 149 $term_id = self::factory()->term->create( array( 'taxonomy' => 'post_tag' ) ); 150 150 $this->assertNull( get_term( $term_id, 'category' ) );
Note: See TracChangeset
for help on using the changeset viewer.