- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/wpWidgetMediaImage.php
r51493 r52010 20 20 * @global WP_Styles $wp_styles 21 21 */ 22 function clean_up_global_scope() {22 public function clean_up_global_scope() { 23 23 global $wp_scripts, $wp_styles; 24 24 parent::clean_up_global_scope(); … … 32 32 * @covers WP_Widget_Media_Image::get_instance_schema 33 33 */ 34 function test_get_instance_schema() {34 public function test_get_instance_schema() { 35 35 $widget = new WP_Widget_Media_Image(); 36 36 $schema = $widget->get_instance_schema(); … … 65 65 * @ticket 45029 66 66 */ 67 function test_get_instance_schema_filtering() {67 public function test_get_instance_schema_filtering() { 68 68 $widget = new WP_Widget_Media_Image(); 69 69 $schema = $widget->get_instance_schema(); … … 95 95 * @covers WP_Widget_Media_Image::__construct 96 96 */ 97 function test_constructor() {97 public function test_constructor() { 98 98 $widget = new WP_Widget_Media_Image(); 99 99 … … 124 124 * @covers WP_Widget_Media_Image::update 125 125 */ 126 function test_update() {126 public function test_update() { 127 127 $widget = new WP_Widget_Media_Image(); 128 128 $instance = array(); … … 411 411 * @requires function imagejpeg 412 412 */ 413 function test_render_media() {413 public function test_render_media() { 414 414 $widget = new WP_Widget_Media_Image(); 415 415 … … 609 609 * @covers WP_Widget_Media_Image::enqueue_admin_scripts 610 610 */ 611 function test_enqueue_admin_scripts() {611 public function test_enqueue_admin_scripts() { 612 612 set_current_screen( 'widgets.php' ); 613 613 $widget = new WP_Widget_Media_Image(); … … 622 622 * @covers WP_Widget_Media_Image::render_control_template_scripts 623 623 */ 624 function test_render_control_template_scripts() {624 public function test_render_control_template_scripts() { 625 625 $widget = new WP_Widget_Media_Image(); 626 626
Note: See TracChangeset
for help on using the changeset viewer.