summaryrefslogtreecommitdiffstats
path: root/core/modules/system/tests/modules/service_provider_test/src/TestClass.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/tests/modules/service_provider_test/src/TestClass.php')
-rw-r--r--core/modules/system/tests/modules/service_provider_test/src/TestClass.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/system/tests/modules/service_provider_test/src/TestClass.php b/core/modules/system/tests/modules/service_provider_test/src/TestClass.php
index d521e1f..c4dad85 100644
--- a/core/modules/system/tests/modules/service_provider_test/src/TestClass.php
+++ b/core/modules/system/tests/modules/service_provider_test/src/TestClass.php
@@ -36,7 +36,7 @@ class TestClass implements EventSubscriberInterface, DestructableInterface, Cont
* A simple kernel listener method.
*/
public function onKernelRequestTest(GetResponseEvent $event) {
- drupal_set_message(t('The service_provider_test event subscriber fired!'));
+ \Drupal::messenger()->addStatus(t('The service_provider_test event subscriber fired!'));
}
/**