Changeset 55565
- Timestamp:
- 03/20/2023 04:16:22 PM (2 years ago)
- Location:
- trunk/tests/phpunit/tests/dependencies
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/jquery.php
r54891 r55565 86 86 87 87 /** 88 * @ticket 2840489 *90 * @covers ::wp_script_is91 */92 public function test_wp_script_is_dep_enqueued() {93 wp_enqueue_script( 'jquery-ui-accordion' );94 95 $this->assertTrue( wp_script_is( 'jquery', 'enqueued' ) );96 $this->assertFalse( wp_script_is( 'underscore', 'enqueued' ) );97 98 unset( $GLOBALS['wp_scripts'] );99 }100 101 /**102 88 * Test placing of jQuery in footer. 103 89 *
Note: See TracChangeset
for help on using the changeset viewer.