Changeset 50463 for trunk/tests/phpunit/tests/user/countUserPosts.php
- Timestamp:
- 03/01/2021 06:42:49 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/countUserPosts.php
r49603 r50463 59 59 } 60 60 61 public function tearDown() {62 _unregister_post_type( 'wptests_pt' );63 parent::tearDown();64 }65 66 61 public function test_count_user_posts_post_type_should_default_to_post() { 67 62 $this->assertEquals( 4, count_user_posts( self::$user_id ) );
Note: See TracChangeset
for help on using the changeset viewer.