Changeset 60299 for trunk/tests/phpunit/tests/user/getTheAuthorPosts.php
- Timestamp:
- 06/11/2025 03:27:43 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/getTheAuthorPosts.php
r55754 r60299 43 43 $this->assertSame( 0, get_the_author_posts() ); 44 44 $GLOBALS['post'] = self::$post_id; 45 $this->assert Equals( 1, get_the_author_posts() );45 $this->assertSame( 1, get_the_author_posts() ); 46 46 } 47 47 … … 61 61 $GLOBALS['post'] = $cpt_ids[0]; 62 62 63 $this->assert Equals( 2, get_the_author_posts() );63 $this->assertSame( 2, get_the_author_posts() ); 64 64 65 65 _unregister_post_type( 'wptests_pt' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)