Changeset 52010 for trunk/tests/phpunit/tests/ajax/CustomizeManager.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/CustomizeManager.php
r51568 r52010 95 95 * @return array All caps. 96 96 */ 97 function filter_user_has_cap( $allcaps ) {97 public function filter_user_has_cap( $allcaps ) { 98 98 $allcaps = array_merge( $allcaps, $this->overridden_caps ); 99 99 return $allcaps; … … 106 106 * @covers WP_Customize_Manager::save 107 107 */ 108 function test_save_failures() {108 public function test_save_failures() { 109 109 global $wp_customize; 110 110 $wp_customize = new WP_Customize_Manager(); … … 273 273 * @covers WP_Customize_Manager::save 274 274 */ 275 function test_save_success_publish_create() {275 public function test_save_success_publish_create() { 276 276 $wp_customize = $this->set_up_valid_state(); 277 277 … … 302 302 * @covers WP_Customize_Manager::save 303 303 */ 304 function test_save_success_publish_edit() {304 public function test_save_success_publish_edit() { 305 305 $uuid = wp_generate_uuid4(); 306 306 … … 341 341 * @covers WP_Customize_Manager::save 342 342 */ 343 function test_success_save_post_date() {343 public function test_success_save_post_date() { 344 344 $uuid = wp_generate_uuid4(); 345 345 $post_id = $this->factory()->post->create(
Note: See TracChangeset
for help on using the changeset viewer.