Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / views / tests / src / Kernel / Handler / AreaMessagesTest.php
index 476551c9a8ffb70e9285668e14ef4585ba80716c..a0bfb1cd53bec070b671242a8c7336edd1a4a936 100644 (file)
@@ -24,7 +24,7 @@ class AreaMessagesTest extends ViewsKernelTestBase {
    * Tests the messages area handler.
    */
   public function testMessageText() {
-    drupal_set_message('My drupal set message.');
+    \Drupal::messenger()->addStatus('My drupal set message.');
 
     $view = Views::getView('test_area_messages');