Changeset 48937 for trunk/tests/phpunit/tests/term/termExists.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/termExists.php
r47122 r48937 151 151 _unregister_taxonomy( 'foo' ); 152 152 153 $this->assert Same( null,$found );153 $this->assertNull( $found ); 154 154 } 155 155 … … 274 274 function test_term_exists_unknown() { 275 275 $this->assertNull( term_exists( rand_str() ) ); 276 $this->assert Equals( 0, term_exists( 0 ) );277 $this->assert Equals( 0,term_exists( '' ) );278 $this->assert Equals( 0,term_exists( null ) );276 $this->assertSame( 0, term_exists( 0 ) ); 277 $this->assertNull( term_exists( '' ) ); 278 $this->assertNull( term_exists( null ) ); 279 279 } 280 280 }
Note: See TracChangeset
for help on using the changeset viewer.