Changeset 51331 for trunk/tests/phpunit/tests/widgets/media-widget.php
- Timestamp:
- 07/05/2021 05:21:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/media-widget.php
r48939 r51331 220 220 add_filter( 'widget_mocked_instance_schema', array( $this, 'filter_instance_schema' ), 10, 2 ); 221 221 $schema = $widget->get_instance_schema(); 222 $this->assertI nternalType( 'array',$this->filter_instance_schema_args );222 $this->assertIsArray( $this->filter_instance_schema_args ); 223 223 $this->assertSame( $widget, $this->filter_instance_schema_args['widget'] ); 224 224 $this->assertSameSets( array( 'attachment_id', 'title', 'url' ), array_keys( $this->filter_instance_schema_args['schema'] ) );
Note: See TracChangeset
for help on using the changeset viewer.