Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / src / Functional / ServiceProvider / ServiceProviderWebTest.php
index 73d6910087dfcf4824fa5de0eb1da376d8f5ddb7..5e86164f6e6dc2504bac02d91034315b4a9a0d17 100644 (file)
@@ -26,9 +26,10 @@ class ServiceProviderWebTest extends BrowserTestBase {
    */
   public function testServiceProviderRegistrationIntegration() {
     $this->assertTrue(\Drupal::hasService('service_provider_test_class'), 'The service_provider_test_class service has been registered to the DIC');
-    // The event subscriber method in the test class calls drupal_set_message()
-    // with a message saying it has fired. This will fire on every page request
-    // so it should show up on the front page.
+    // The event subscriber method in the test class calls
+    // \Drupal\Core\Messenger\MessengerInterface::addStatus() with a message
+    // saying it has fired. This will fire on every page request so it should
+    // show up on the front page.
     $this->drupalGet('');
     $this->assertText(t('The service_provider_test event subscriber fired!'), 'The service_provider_test event subscriber fired');
   }