Changeset 52010 for trunk/tests/phpunit/tests/term/termExists.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/termExists.php
r51331 r52010 257 257 } 258 258 259 function test_term_exists_known() {259 public function test_term_exists_known() { 260 260 register_taxonomy( 'wptests_tax', 'post' ); 261 261 … … 272 272 } 273 273 274 function test_term_exists_unknown() {274 public function test_term_exists_unknown() { 275 275 $this->assertNull( term_exists( rand_str() ) ); 276 276 $this->assertSame( 0, term_exists( 0 ) );
Note: See TracChangeset
for help on using the changeset viewer.