diff --git a/tests/phpunit/tests/widgets/media-audio-widget.php b/tests/phpunit/tests/widgets/media-audio-widget.php index 02779af2d8..aceba85711 100644 --- a/tests/phpunit/tests/widgets/media-audio-widget.php +++ b/tests/phpunit/tests/widgets/media-audio-widget.php @@ -74,7 +74,6 @@ class Test_WP_Widget_Media_Audio extends WP_UnitTestCase { * * @param array $schema Schema. * @param WP_Widget_Media_Audio $widget Widget. - * * @return array */ public function filter_instance_schema( $schema, $widget ) { diff --git a/tests/phpunit/tests/widgets/media-image-widget.php b/tests/phpunit/tests/widgets/media-image-widget.php index eed1fc35df..3d4eaaa21e 100644 --- a/tests/phpunit/tests/widgets/media-image-widget.php +++ b/tests/phpunit/tests/widgets/media-image-widget.php @@ -34,6 +34,7 @@ class Test_WP_Widget_Media_Image extends WP_UnitTestCase { function test_get_instance_schema() { $widget = new WP_Widget_Media_Image(); $schema = $widget->get_instance_schema(); + $this->assertEqualSets( array( 'alt', @@ -80,7 +81,6 @@ class Test_WP_Widget_Media_Image extends WP_UnitTestCase { * * @param array $schema Schema. * @param WP_Widget_Media_Image $widget Widget. - * * @return array */ public function filter_instance_schema( $schema, $widget ) { diff --git a/tests/phpunit/tests/widgets/media-video-widget.php b/tests/phpunit/tests/widgets/media-video-widget.php index d8961f1f9e..fa37e44c7b 100644 --- a/tests/phpunit/tests/widgets/media-video-widget.php +++ b/tests/phpunit/tests/widgets/media-video-widget.php @@ -75,7 +75,6 @@ class Test_WP_Widget_Media_Video extends WP_UnitTestCase { * * @param array $schema Schema. * @param WP_Widget_Media_Video $widget Widget. - * * @return array */ public function filter_instance_schema( $schema, $widget ) { diff --git a/tests/phpunit/tests/widgets/media-widget.php b/tests/phpunit/tests/widgets/media-widget.php index 4a828cdbc4..86a06eccc6 100644 --- a/tests/phpunit/tests/widgets/media-widget.php +++ b/tests/phpunit/tests/widgets/media-widget.php @@ -187,7 +187,6 @@ class Test_WP_Widget_Media extends WP_UnitTestCase { * * @param array $schema Schema. * @param WP_Widget_Media $widget Widget. - * * @return array */ public function filter_instance_schema( $schema, $widget ) {