Changeset 54088 for trunk/tests/phpunit/tests/widgets/wpWidgetText.php
- Timestamp:
- 09/06/2022 10:03:10 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/wpWidgetText.php
r52010 r54088 82 82 global $wp_customize; 83 83 wp_set_current_user( 84 $this->factory()->user->create(84 self::factory()->user->create( 85 85 array( 86 86 'role' => 'administrator', … … 316 316 public function test_widget_shortcodes() { 317 317 global $post; 318 $post_id = $this->factory()->post->create();318 $post_id = self::factory()->post->create(); 319 319 $post = get_post( $post_id ); 320 320 … … 717 717 718 718 wp_set_current_user( 719 $this->factory()->user->create(719 self::factory()->user->create( 720 720 array( 721 721 'role' => 'administrator',
Note: See TracChangeset
for help on using the changeset viewer.