Changeset 49603 for trunk/tests/phpunit/tests/post/wpPublishPost.php
- Timestamp:
- 11/15/2020 01:59:32 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/wpPublishPost.php
r49327 r49603 18 18 * @param WP_UnitTest_Factory $factory Test suite factory. 19 19 */ 20 public static function wpSetUpBeforeClass( $factory ) {20 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { 21 21 self::$auto_draft_id = $factory->post->create( array( 'post_status' => 'auto-draft' ) ); 22 22 }
Note: See TracChangeset
for help on using the changeset viewer.