diff --git a/core/modules/system/src/Tests/Module/UninstallTest.php b/core/modules/system/src/Tests/Module/UninstallTest.php index 613ec2c..b914c98 100644 --- a/core/modules/system/src/Tests/Module/UninstallTest.php +++ b/core/modules/system/src/Tests/Module/UninstallTest.php @@ -56,7 +56,8 @@ function testUninstallPage() { $this->drupalGet('admin/modules/uninstall'); $this->assertTitle(t('Uninstall') . ' | Drupal'); - $this->assertText(\Drupal::translation()->translate('The following reason prevents Node from being uninstalled: There is content for the entity type: Content'), 'Content prevents uninstalling node module.'); + $this->assertText(\Drupal::translation()->translate('The following reason prevents Node from being uninstalled:')); + $this->assertText(\Drupal::translation()->translate('There is content for the entity type: Content')); // Delete the node to allow node to be uninstalled. $node->delete();