Changeset 29252 for trunk/tests/phpunit/tests/dependencies/jquery.php
- Timestamp:
- 07/20/2014 12:28:57 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/jquery.php
r25785 r29252 70 70 $this->assertFalse( strpos( $contents, 'sourceMappingURL' ), 'Presence of sourceMappingURL' ); 71 71 } 72 73 /** 74 * @ticket 28404 75 */ 76 function test_wp_script_is_dep_enqueued() { 77 wp_enqueue_script( 'jquery-ui-accordion' ); 78 79 $this->assertTrue( wp_script_is( 'jquery', 'enqueued' ) ); 80 $this->assertFalse( wp_script_is( 'underscore', 'enqueued' ) ); 81 82 unset( $GLOBALS['wp_scripts'] ); 83 } 72 84 }
Note: See TracChangeset
for help on using the changeset viewer.