Changeset 49108 for trunk/tests/phpunit/tests/term/termExists.php
- Timestamp:
- 10/08/2020 09:13:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/termExists.php
r48937 r49108 16 16 ); 17 17 18 $found = term_exists( intval( $t ), 'post_tag' );18 $found = term_exists( (int) $t, 'post_tag' ); 19 19 $this->assertEquals( $t, $found['term_id'] ); 20 20 } … … 31 31 ); 32 32 33 $this->assertNull( term_exists( intval( $t ), 'foo' ) );33 $this->assertNull( term_exists( (int) $t, 'foo' ) ); 34 34 } 35 35 … … 41 41 ); 42 42 43 $found = term_exists( intval( $t ), 'post_tag' );43 $found = term_exists( (int) $t, 'post_tag' ); 44 44 $this->assertEquals( $t, $found['term_id'] ); 45 45 }
Note: See TracChangeset
for help on using the changeset viewer.