diff --git a/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php b/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php index 495d978..a79fb8a 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php @@ -131,7 +131,9 @@ function testModuleEnableOrder() { $edit['modules[Core][color][enable]'] = 'color'; $this->drupalPostForm('admin/modules', $edit, t('Save configuration')); $this->assertModules(array('color'), FALSE); - $this->assertText(t('You must enable the Help, Configuration Manager modules to install Color.')); + // Note that dependencies are sorted alphabetically in the confirmation + // message. + $this->assertText(t('You must enable the Configuration Manager, Help modules to install Color.')); $edit['modules[Core][config][enable]'] = 'config'; $edit['modules[Core][help][enable]'] = 'help';