Skip to content

Commit 371719b

Browse files
committed
Update test naming after simplification
1 parent eb741e1 commit 371719b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/phpunit/tests/dependencies/scripts.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ public function test_fetchpriority_bumping_a_to_z() {
14421442
*
14431443
* @covers WP_Scripts::get_highest_fetchpriority_with_dependents
14441444
*/
1445-
public function test_highest_fetchpriority_with_dependents_uses_cached_result_for_shared_dependency() {
1445+
public function test_highest_fetchpriority_with_dependents_uses_cached_result() {
14461446
$wp_scripts = new WP_Scripts();
14471447
$wp_scripts->add( 'd', 'https://example.com/d.js' );
14481448
$wp_scripts->add_data( 'd', 'fetchpriority', 'low' );
@@ -1570,13 +1570,13 @@ public function test_loading_strategy_with_valid_blocking_registration() {
15701570
}
15711571

15721572
/**
1573-
* Tests that `WP_Scripts::filter_eligible_strategies()` correctly reuses cached results for shared dependencies.
1573+
* Tests that `WP_Scripts::filter_eligible_strategies()` correctly reuses cached results.
15741574
*
15751575
* @ticket 64194
15761576
*
15771577
* @covers WP_Scripts::filter_eligible_strategies
15781578
*/
1579-
public function test_filter_eligible_strategies_uses_cached_result_for_shared_dependency() {
1579+
public function test_filter_eligible_strategies_uses_cached_result() {
15801580
$wp_scripts = new WP_Scripts();
15811581
$wp_scripts->add( 'd', 'https://example.com/d.js' );
15821582
$wp_scripts->add_data( 'd', 'strategy', 'defer' );

0 commit comments

Comments
 (0)