Changeset 51454 for trunk/tests/phpunit/tests/term.php
- Timestamp:
- 07/18/2021 02:10:24 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term.php
r51438 r51454 156 156 $this->assertIsNumeric( $t ); 157 157 $this->assertNotWPError( $t ); 158 $this->assert True( $t > 0);158 $this->assertGreaterThan( 0, $t ); 159 159 $this->assertEquals( $initial_count + 1, wp_count_terms( array( 'taxonomy' => 'category' ) ) ); 160 160 161 161 // Make sure the term exists. 162 $this->assert True( term_exists( $term ) > 0);163 $this->assert True( term_exists( $t ) > 0);162 $this->assertGreaterThan( 0, term_exists( $term ) ); 163 $this->assertGreaterThan( 0, term_exists( $t ) ); 164 164 165 165 // Now delete it.
Note: See TracChangeset
for help on using the changeset viewer.