diff --git a/tests/phpunit/tests/dependencies/jquery.php b/tests/phpunit/tests/dependencies/jquery.php
index 30ea876e2f..1d763b0382 100644
--- a/tests/phpunit/tests/dependencies/jquery.php
+++ b/tests/phpunit/tests/dependencies/jquery.php
@@ -21,6 +21,11 @@ class Tests_Dependencies_jQuery extends WP_UnitTestCase {
$object = $scripts->query( 'jquery', 'registered' );
$this->assertInstanceOf( '_WP_Dependency', $object );
+
+ // As of 5.5 jQuery 1.12.4 is loaded without Migrate 1.4.1.
+ // Disable, but keep the followint test for 5.6 when jQuery would be updated to 3.5.1+ and
+ // the latest Migrate will be used.
+ /*
$this->assertEqualSets( $object->deps, array_keys( $jquery_scripts ) );
foreach ( $object->deps as $dep ) {
$o = $scripts->query( $dep, 'registered' );
@@ -28,6 +33,7 @@ class Tests_Dependencies_jQuery extends WP_UnitTestCase {
$this->assertTrue( isset( $jquery_scripts[ $dep ] ) );
$this->assertEquals( $jquery_scripts[ $dep ], $o->src );
}
+ */
}
function test_presence_of_jquery_no_conflict() {
@@ -113,7 +119,8 @@ class Tests_Dependencies_jQuery extends WP_UnitTestCase {
$scripts->add_data( $dep, 'group', 1 );
}
- $this->expectOutputRegex( '/^(?:\n";
+ $expected = "\n";
$expected .= "\n";
$expected .= "\n";
@@ -657,7 +657,7 @@ JS;
$wp_scripts->do_concat = true;
$ver = get_bloginfo( 'version' );
- $expected = "\n";
+ $expected = "\n";
$expected .= "