Changeset 52010 for trunk/tests/phpunit/tests/dependencies/jquery.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/jquery.php
r51419 r52010 10 10 * @covers WP_Scripts::query 11 11 */ 12 function test_location_of_jquery() {12 public function test_location_of_jquery() { 13 13 $scripts = new WP_Scripts; 14 14 wp_default_scripts( $scripts ); … … 47 47 * @covers ::wp_script_is 48 48 */ 49 function test_dont_allow_deregister_core_scripts_in_admin() {49 public function test_dont_allow_deregister_core_scripts_in_admin() { 50 50 set_current_screen( 'edit.php' ); 51 51 $this->assertTrue( is_admin() ); … … 90 90 * @covers ::wp_script_is 91 91 */ 92 function test_wp_script_is_dep_enqueued() {92 public function test_wp_script_is_dep_enqueued() { 93 93 wp_enqueue_script( 'jquery-ui-accordion' ); 94 94 … … 106 106 * @covers WP_Scripts::do_items 107 107 */ 108 function test_jquery_in_footer() {108 public function test_jquery_in_footer() { 109 109 $scripts = new WP_Scripts; 110 110 $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ) );
Note: See TracChangeset
for help on using the changeset viewer.