Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / src / Functional / Update / InstallProfileSystemInstall8300Test.php
index 623f88047e108925e3e180996cb6d99faaacbf61..0a1d03ff36852ee31e92c81d3b983232bf7bb569 100644 (file)
@@ -9,6 +9,7 @@ use Drupal\FunctionalTests\Update\UpdatePathTestBase;
  * Tests system_update_8300().
  *
  * @group Update
+ * @group legacy
  */
 class InstallProfileSystemInstall8300Test extends UpdatePathTestBase {
 
@@ -23,6 +24,8 @@ class InstallProfileSystemInstall8300Test extends UpdatePathTestBase {
 
   /**
    * Ensures that the system_update_8300() runs as expected.
+   *
+   * @expectedDeprecation To access the install profile in Drupal 8 use \Drupal::installProfile() or inject the install_profile container parameter into your service. See https://www.drupal.org/node/2538996
    */
   public function testUpdate() {
     // Ensure the BC layers work and settings.php and configuration is in the