Changeset 51415 for trunk/tests/phpunit/tests/widgets/media-widget.php
- Timestamp:
- 07/13/2021 10:43:42 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/media-widget.php
r51331 r51415 96 96 $this->assertSame( $name, $widget->name ); 97 97 98 // Method assertArraySubset doesn't exist in phpunit versions compatible with PHP 5.2. 99 if ( method_exists( $this, 'assertArraySubset' ) ) { 100 $this->assertArraySubset( $widget_options, $widget->widget_options ); 101 $this->assertArraySubset( $control_options, $widget->control_options ); 102 } 98 $this->assertArraySubset( $widget_options, $widget->widget_options ); 99 $this->assertArraySubset( $control_options, $widget->control_options ); 103 100 } 104 101 … … 136 133 * 137 134 * @covers WP_Widget_Media::is_attachment_with_mime_type 135 * @requires function imagejpeg 138 136 */ 139 137 function test_is_attachment_with_mime_type() {
Note: See TracChangeset
for help on using the changeset viewer.