diff --git a/core/modules/system/src/Tests/Extension/ModuleHandlerTest.php b/core/modules/system/src/Tests/Extension/ModuleHandlerTest.php index d2d6fed..b3e5f71 100644 --- a/core/modules/system/src/Tests/Extension/ModuleHandlerTest.php +++ b/core/modules/system/src/Tests/Extension/ModuleHandlerTest.php @@ -142,7 +142,7 @@ function testDependencyResolution() { // Verify that the modules were enabled in the correct order. $module_order = \Drupal::state()->get('module_test.install_order') ?: array(); - $this->assertEqual($module_order, array('help', 'config', 'color')); + $this->assertEqual($module_order, array('block', 'help', 'config', 'color')); // Uninstall all three modules explicitly, but in the incorrect order, // and make sure that ModuleHandler::uninstall() uninstalled them in the diff --git a/core/modules/system/src/Tests/Module/DependencyTest.php b/core/modules/system/src/Tests/Module/DependencyTest.php index 88d959a..8017fa9 100644 --- a/core/modules/system/src/Tests/Module/DependencyTest.php +++ b/core/modules/system/src/Tests/Module/DependencyTest.php @@ -134,7 +134,7 @@ function testModuleEnableOrder() { // module_test creates a dependency chain: // - color depends on config // - config depends on help - $expected_order = array('help', 'config', 'color'); + $expected_order = array('block', 'help', 'config', 'color'); // Enable the modules through the UI, verifying that the dependency chain // is correct.