Changeset 51462 for trunk/tests/phpunit/tests/dependencies/styles.php
- Timestamp:
- 07/19/2021 02:00:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/styles.php
r50919 r51462 319 319 function test_wp_enqueue_style_with_media( $expected, $media ) { 320 320 wp_enqueue_style( 'handle', 'http://example.com', array(), 1, $media ); 321 $this->assert Contains( $expected, get_echo( 'wp_print_styles' ) );321 $this->assertStringContainsString( $expected, get_echo( 'wp_print_styles' ) ); 322 322 } 323 323
Note: See TracChangeset
for help on using the changeset viewer.