summaryrefslogtreecommitdiffstats
path: root/core/modules/system/tests/src/Functional/Module/InstallUninstallTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/tests/src/Functional/Module/InstallUninstallTest.php')
-rw-r--r--core/modules/system/tests/src/Functional/Module/InstallUninstallTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modules/system/tests/src/Functional/Module/InstallUninstallTest.php b/core/modules/system/tests/src/Functional/Module/InstallUninstallTest.php
index 4d8f30d..c3fcb75 100644
--- a/core/modules/system/tests/src/Functional/Module/InstallUninstallTest.php
+++ b/core/modules/system/tests/src/Functional/Module/InstallUninstallTest.php
@@ -22,7 +22,8 @@ class InstallUninstallTest extends ModuleTestBase {
*/
public function testInstallUninstall() {
// Set a variable so that the hook implementations in system_test.module
- // will display messages via drupal_set_message().
+ // will display messages via
+ // \Drupal\Core\Messenger\MessengerInterface::addStatus().
$this->container->get('state')->set('system_test.verbose_module_hooks', TRUE);
// Install and uninstall module_test to ensure hook_preinstall_module and