Changeset 54088 for trunk/tests/phpunit/tests/ajax/CustomizeManager.php
- Timestamp:
- 09/06/2022 10:03:10 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/CustomizeManager.php
r53561 r54088 308 308 $uuid = wp_generate_uuid4(); 309 309 310 $post_id = $this->factory()->post->create(310 $post_id = self::factory()->post->create( 311 311 array( 312 312 'post_name' => $uuid, … … 347 347 public function test_success_save_post_date() { 348 348 $uuid = wp_generate_uuid4(); 349 $post_id = $this->factory()->post->create(349 $post_id = self::factory()->post->create( 350 350 array( 351 351 'post_name' => $uuid, … … 447 447 $uuid = wp_generate_uuid4(); 448 448 449 $post_id = $this->factory()->post->create(449 $post_id = self::factory()->post->create( 450 450 array( 451 451 'post_name' => $uuid, … … 615 615 $this->assertSame( 'no_auto_draft_to_delete', $this->_last_response_parsed['data'] ); 616 616 617 $other_user_id = $this->factory()->user->create();617 $other_user_id = self::factory()->user->create(); 618 618 619 619 // Create auto-drafts. 620 620 $user_auto_draft_ids = array(); 621 621 for ( $i = 0; $i < 3; $i++ ) { 622 $user_auto_draft_ids[] = $this->factory()->post->create(622 $user_auto_draft_ids[] = self::factory()->post->create( 623 623 array( 624 624 'post_name' => wp_generate_uuid4(), … … 632 632 $other_user_auto_draft_ids = array(); 633 633 for ( $i = 0; $i < 3; $i++ ) { 634 $other_user_auto_draft_ids[] = $this->factory()->post->create(634 $other_user_auto_draft_ids[] = self::factory()->post->create( 635 635 array( 636 636 'post_name' => wp_generate_uuid4(),
Note: See TracChangeset
for help on using the changeset viewer.