Changeset 52010 for trunk/tests/phpunit/tests/customize/control.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/control.php
r51568 r52010 25 25 * Set up. 26 26 */ 27 function set_up() {27 public function set_up() { 28 28 parent::set_up(); 29 29 wp_set_current_user( $this->factory()->user->create( array( 'role' => 'administrator' ) ) ); … … 38 38 * @see WP_Customize_Control::check_capabilities() 39 39 */ 40 function test_check_capabilities() {40 public function test_check_capabilities() { 41 41 do_action( 'customize_register', $this->wp_customize ); 42 42 $control = new WP_Customize_Control( … … 106 106 * @ticket 38164 107 107 */ 108 function test_dropdown_pages() {108 public function test_dropdown_pages() { 109 109 do_action( 'customize_register', $this->wp_customize ); 110 110 … … 173 173 * Tear down. 174 174 */ 175 function tear_down() {175 public function tear_down() { 176 176 $this->wp_customize = null; 177 177 unset( $GLOBALS['wp_customize'] );
Note: See TracChangeset
for help on using the changeset viewer.