Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / src / Tests / Installer / InstallerDatabaseErrorMessagesTest.php
diff --git a/web/core/modules/system/src/Tests/Installer/InstallerDatabaseErrorMessagesTest.php b/web/core/modules/system/src/Tests/Installer/InstallerDatabaseErrorMessagesTest.php
deleted file mode 100644 (file)
index c98a5de..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-namespace Drupal\system\Tests\Installer;
-
-use Drupal\Core\Database\Database;
-use Drupal\simpletest\InstallerTestBase;
-
-/**
- * Tests the installer with database errors.
- *
- * @group Installer
- */
-class InstallerDatabaseErrorMessagesTest extends InstallerTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  protected function setUpSettings() {
-    // We are creating a table here to force an error in the installer because
-    // it will try and create the drupal_install_test table as this is part of
-    // the standard database tests performed by the installer in
-    // Drupal\Core\Database\Install\Tasks.
-    Database::getConnection('default')->query('CREATE TABLE {drupal_install_test} (id int NULL)');
-    parent::setUpSettings();
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  protected function setUpSite() {
-    // This step should not appear as we had a failure on the settings screen.
-  }
-
-  /**
-   * Verifies that the error message in the settings step is correct.
-   */
-  public function testSetUpSettingsErrorMessage() {
-    $this->assertRaw('<ul><li>Failed to <strong>CREATE</strong> a test table');
-  }
-
-}