Changeset 48893
- Timestamp:
- 08/27/2020 09:06:13 PM (4 years ago)
- Location:
- branches/5.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
-
branches/5.5/tests/phpunit/tests/dependencies/scripts.php
r48466 r48893 633 633 634 634 $ver = get_bloginfo( 'version' ); 635 $expected = "<script type='text/javascript' src='/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery &ver={$ver}'></script>\n";635 $expected = "<script type='text/javascript' src='/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core&ver={$ver}'></script>\n"; 636 636 $expected .= "<script type='text/javascript' src='http://example.com' id='test-example-js'></script>\n"; 637 637 $expected .= "<script type='text/javascript' id='test-example-js-after'>\nconsole.log(\"after\");\n</script>\n"; … … 658 658 659 659 $ver = get_bloginfo( 'version' ); 660 $expected = "<script type='text/javascript' src='/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery &ver={$ver}'></script>\n";660 $expected = "<script type='text/javascript' src='/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core&ver={$ver}'></script>\n"; 661 661 $expected .= "<!--[if gte IE 9]>\n"; 662 662 $expected .= "<script type='text/javascript' src='http://example.com' id='test-example-js'></script>\n"; … … 687 687 688 688 $ver = get_bloginfo( 'version' ); 689 $expected = "<script type='text/javascript' src='/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery &ver={$ver}'></script>\n";689 $expected = "<script type='text/javascript' src='/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core&ver={$ver}'></script>\n"; 690 690 $expected .= "<script type='text/javascript' id='test-example-js-before'>\nconsole.log(\"before\");\n</script>\n"; 691 691 $expected .= "<script type='text/javascript' src='http://example.com' id='test-example-js'></script>\n"; … … 713 713 714 714 $ver = get_bloginfo( 'version' ); 715 $expected = "<script type='text/javascript' src='/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery &ver={$ver}'></script>\n";715 $expected = "<script type='text/javascript' src='/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core&ver={$ver}'></script>\n"; 716 716 $expected .= "<script type='text/javascript' id='test-example-js-before'>\nconsole.log(\"before\");\n</script>\n"; 717 717 $expected .= "<script type='text/javascript' src='http://example.com' id='test-example-js'></script>\n";
Note: See TracChangeset
for help on using the changeset viewer.