Changeset 58097 for trunk/tests/phpunit/tests/dependencies/scripts.php
- Timestamp:
- 05/04/2024 07:23:31 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/scripts.php
r57981 r58097 496 496 */ 497 497 public function data_provider_to_test_various_strategy_dependency_chains() { 498 $wp_tests_domain = WP_TESTS_DOMAIN; 499 498 500 return array( 499 501 'async-dependent-with-one-blocking-dependency' => array( … … 882 884 }, 883 885 'expected_markup' => <<<HTML 884 <script type='text/javascript' src='http:// example.org/wp-includes/js/jquery/jquery.js' id='jquery-core-js' defer data-wp-strategy='defer'></script>885 <script type='text/javascript' src='http:// example.org/wp-includes/js/jquery/jquery-migrate.js' id='jquery-migrate-js' defer data-wp-strategy='defer'></script>886 <script type='text/javascript' src='http://$wp_tests_domain/wp-includes/js/jquery/jquery.js' id='jquery-core-js' defer data-wp-strategy='defer'></script> 887 <script type='text/javascript' src='http://$wp_tests_domain/wp-includes/js/jquery/jquery-migrate.js' id='jquery-migrate-js' defer data-wp-strategy='defer'></script> 886 888 <script type='text/javascript' src='https://example.com/theme-functions.js' id='theme-functions-js' defer data-wp-strategy='defer'></script> 887 889 HTML
Note: See TracChangeset
for help on using the changeset viewer.