Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / src / Tests / Installer / SingleVisibleProfileTest.php
diff --git a/web/core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php b/web/core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php
deleted file mode 100644 (file)
index 3e93a0b..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-
-namespace Drupal\system\Tests\Installer;
-
-use Drupal\Core\Serialization\Yaml;
-use Drupal\simpletest\InstallerTestBase;
-
-/**
- * Tests distribution profile support.
- *
- * @group Installer
- */
-class SingleVisibleProfileTest extends InstallerTestBase {
-
-  /**
-   * The installation profile to install.
-   *
-   * Not needed when only one is visible.
-   *
-   * @var string
-   */
-  protected $profile = NULL;
-
-  protected function setUp() {
-    $profiles = ['standard', 'demo_umami'];
-    foreach ($profiles as $profile) {
-      $info = [
-        'type' => 'profile',
-        'core' => \Drupal::CORE_COMPATIBILITY,
-        'name' => 'Override ' . $profile,
-        'hidden' => TRUE,
-      ];
-      // File API functions are not available yet.
-      $path = $this->siteDirectory . '/profiles/' . $profile;
-      mkdir($path, 0777, TRUE);
-      file_put_contents("$path/$profile.info.yml", Yaml::encode($info));
-    }
-    parent::setUp();
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  protected function setUpProfile() {
-    // This step is skipped, because there is only one visible profile.
-  }
-
-  /**
-   * Confirms that the installation succeeded.
-   */
-  public function testInstalled() {
-    $this->assertUrl('user/1');
-    $this->assertResponse(200);
-    // Confirm that we are logged-in after installation.
-    $this->assertText($this->rootUser->getUsername());
-    // Confirm that the minimal profile was installed.
-    $this->assertEqual(drupal_get_profile(), 'minimal');
-  }
-
-}