Changeset 36549
- Timestamp:
- 02/17/2016 04:07:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/scripts.php
r32483 r36549 157 157 } 158 158 159 160 161 162 163 164 165 166 167 159 /** 160 * Testing 'wp_register_script' return boolean success/failure value. 161 * 162 * @ticket 31126 163 */ 164 function test_wp_register_script() { 165 $this->assertTrue( wp_register_script( 'duplicate-handler', 'http://example.com' ) ); 166 $this->assertFalse( wp_register_script( 'duplicate-handler', 'http://example.com' ) ); 167 } 168 168 169 169 }
Note: See TracChangeset
for help on using the changeset viewer.