Skip to content

Commit 98abb51

Browse files
committed
Switch back to enqueue
1 parent 86c13c9 commit 98abb51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/dependencies/scripts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ public function test_loading_strategy_with_all_defer_dependencies() {
12011201
*/
12021202
public function test_defer_with_async_dependent() {
12031203
// case with one async dependent.
1204-
wp_enqueue_script( 'main-script-d4', '/main-script-d4.js', array(), null, array( 'strategy' => 'defer' ) );
1204+
wp_register_script( 'main-script-d4', '/main-script-d4.js', array(), null, array( 'strategy' => 'defer' ) );
12051205
wp_enqueue_script(
12061206
'dependent-script-d4-1',
12071207
'/dependent-script-d4-1.js',

0 commit comments

Comments
 (0)