diff core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsMismatchProfileTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents c2387f117808
children
line wrap: on
line diff
--- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsMismatchProfileTest.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsMismatchProfileTest.php	Thu Feb 28 13:21:36 2019 +0000
@@ -8,9 +8,10 @@
 use Symfony\Component\HttpFoundation\Request;
 
 /**
- * Tests the installer with an existing settings file but no install profile.
+ * Tests install with existing settings.php and a mismatching install profile.
  *
  * @group Installer
+ * @group legacy
  */
 class InstallerExistingSettingsMismatchProfileTest extends InstallerTestBase {
 
@@ -68,7 +69,7 @@
    * {@inheritdoc}
    */
   protected function setUpLanguage() {
-    // This step is skipped, because there is a lagcode as a query param.
+    // This step is skipped, because there is a langcode as a query param.
   }
 
   /**
@@ -88,6 +89,8 @@
 
   /**
    * Verifies that installation succeeded.
+   *
+   * @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 testInstaller() {
     $this->assertUrl('user/1');