Changeset 56746 for trunk/tests/phpunit/tests/widgets/wpWidgetMedia.php
- Timestamp:
- 09/29/2023 03:22:12 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/wpWidgetMedia.php
r55120 r56746 77 77 array_keys( $widget->l10n ) 78 78 ); 79 $this->assert Same( count( $widget->l10n ), count( array_filter( $widget->l10n )), 'Expected all translation strings to be defined.' );79 $this->assertCount( count( $widget->l10n ), array_filter( $widget->l10n ), 'Expected all translation strings to be defined.' ); 80 80 $this->assertSame( 10, has_action( 'admin_print_scripts-widgets.php', array( $widget, 'enqueue_admin_scripts' ) ) ); 81 81 $this->assertFalse( has_action( 'wp_enqueue_scripts', array( $widget, 'enqueue_preview_scripts' ) ), 'Did not expect preview scripts to be enqueued when not in customize preview context.' );
Note: See TracChangeset
for help on using the changeset viewer.