Changeset 35227 for trunk/tests/phpunit/tests/term/getTerm.php
- Timestamp:
- 10/16/2015 09:41:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTerm.php
r35225 r35227 107 107 $this->assertInternalType( 'int', $found->term_group ); 108 108 } 109 110 /** 111 * @ticket 34332 112 */ 113 public function test_should_return_null_when_provided_taxonomy_does_not_match_actual_term_taxonomy() { 114 $term_id = self::$factory->term->create( array( 'taxonomy' => 'post_tag' ) ); 115 $this->assertNull( get_term( $term_id, 'category' ) ); 116 } 109 117 }
Note: See TracChangeset
for help on using the changeset viewer.