- Timestamp:
- 11/15/2020 01:59:32 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-revisions-controller.php
r48939 r49603 17 17 protected static $contributor_id; 18 18 19 public static function wpSetUpBeforeClass( $factory ) {19 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { 20 20 self::$post_id = $factory->post->create(); 21 21 self::$page_id = $factory->post->create( array( 'post_type' => 'page' ) );
Note: See TracChangeset
for help on using the changeset viewer.