summaryrefslogtreecommitdiffstats
path: root/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php')
-rw-r--r--core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php b/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
index a708ecc..2405aff 100644
--- a/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
+++ b/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
@@ -24,7 +24,7 @@ class BigPipeTestController {
if ($has_session) {
// Only set a message if a session already exists, otherwise we always
// trigger a session, which means we can't test no-session requests.
- drupal_set_message('Hello from BigPipe!');
+ \Drupal::messenger()->addStatus('Hello from BigPipe!');
}
$build['html'] = $cases['html']->renderArray;