Changeset 48937 for trunk/tests/phpunit/tests/term/getTerm.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTerm.php
r46586 r48937 73 73 74 74 public function test_passing_term_string_that_casts_to_int_0_should_return_null() { 75 $this->assert Same( null,get_term( 'abc', 'wptests_tax' ) );75 $this->assertNull( get_term( 'abc', 'wptests_tax' ) ); 76 76 } 77 77 78 78 public function test_should_return_null_for_invalid_term_id() { 79 $this->assert Same( null,get_term( 99999999, 'wptests_tax' ) );79 $this->assertNull( get_term( 99999999, 'wptests_tax' ) ); 80 80 } 81 81
Note: See TracChangeset
for help on using the changeset viewer.