Changeset 56092 for trunk/tests/phpunit/tests/dependencies/scripts.php
- Timestamp:
- 06/28/2023 02:14:58 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/dependencies/scripts.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/scripts.php
r56033 r56092 2933 2933 2934 2934 /** 2935 * Ensure tinymce scripts aren't loading async. 2936 * 2937 * @ticket 58648 2938 */ 2939 public function test_printing_tinymce_scripts() { 2940 global $wp_scripts; 2941 2942 wp_register_tinymce_scripts( $wp_scripts, true ); 2943 2944 $actual = get_echo( 'wp_print_scripts', array( array( 'wp-tinymce' ) ) ); 2945 2946 $this->assertStringNotContainsString( 'async', $actual ); 2947 } 2948 2949 /** 2935 2950 * Parse an HTML markup fragment. 2936 2951 *
Note: See TracChangeset
for help on using the changeset viewer.