Changeset 51438 for trunk/tests/phpunit/tests/user/wpDeleteUser.php
- Timestamp:
- 07/15/2021 02:44:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/wpDeleteUser.php
r48937 r51438 68 68 // Insert a post and make sure the ID is OK. 69 69 $post_id = wp_insert_post( $post ); 70 $this->assert True( is_numeric( $post_id ));70 $this->assertIsNumeric( $post_id ); 71 71 $this->assertTrue( $post_id > 0 ); 72 72 … … 84 84 // Insert a post and make sure the ID is OK. 85 85 $nav_id = wp_insert_post( $post ); 86 $this->assert True( is_numeric( $nav_id ));86 $this->assertIsNumeric( $nav_id ); 87 87 $this->assertTrue( $nav_id > 0 ); 88 88
Note: See TracChangeset
for help on using the changeset viewer.