Changeset 51438 for trunk/tests/phpunit/tests/post.php
- Timestamp:
- 07/15/2021 02:44:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post.php
r51397 r51438 80 80 // Insert a post and make sure the ID is OK. 81 81 $id = wp_insert_post( $post ); 82 $this->assert True( is_numeric( $id ));82 $this->assertIsNumeric( $id ); 83 83 $this->assertTrue( $id > 0 ); 84 84 … … 136 136 $this->post_ids[] = $id; 137 137 // dmp( _get_cron_array() ); 138 $this->assert True( is_numeric( $id ));138 $this->assertIsNumeric( $id ); 139 139 $this->assertTrue( $id > 0 ); 140 140 … … 259 259 $this->post_ids[] = $id; 260 260 // dmp( _get_cron_array() ); 261 $this->assert True( is_numeric( $id ));261 $this->assertIsNumeric( $id ); 262 262 $this->assertTrue( $id > 0 ); 263 263 … … 380 380 $this->post_ids[] = $id; 381 381 // dmp( _get_cron_array() ); 382 $this->assert True( is_numeric( $id ));382 $this->assertIsNumeric( $id ); 383 383 $this->assertTrue( $id > 0 ); 384 384
Note: See TracChangeset
for help on using the changeset viewer.