X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FInstaller%2FInstallerExistingDatabaseSettingsTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FInstaller%2FInstallerExistingDatabaseSettingsTest.php;h=0000000000000000000000000000000000000000;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=63d3ce407a2ce3d8f2b7c57821fbf826d1d893bf;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/modules/system/src/Tests/Installer/InstallerExistingDatabaseSettingsTest.php b/web/core/modules/system/src/Tests/Installer/InstallerExistingDatabaseSettingsTest.php deleted file mode 100644 index 63d3ce407..000000000 --- a/web/core/modules/system/src/Tests/Installer/InstallerExistingDatabaseSettingsTest.php +++ /dev/null @@ -1,62 +0,0 @@ -settings['databases']['default'] = (object) [ - 'value' => $connection_info, - 'required' => TRUE, - ]; - parent::setUp(); - } - - /** - * {@inheritdoc} - * - * @todo The database settings form is not supposed to appear if settings.php - * contains a valid database connection already (but e.g. no config - * directories yet). - */ - protected function setUpSettings() { - // All database settings should be pre-configured, except password. - $values = $this->parameters['forms']['install_settings_form']; - $driver = $values['driver']; - $edit = []; - if (isset($values[$driver]['password']) && $values[$driver]['password'] !== '') { - $edit = $this->translatePostValues([ - $driver => [ - 'password' => $values[$driver]['password'], - ], - ]); - } - $this->drupalPostForm(NULL, $edit, $this->translations['Save and continue']); - } - - /** - * Verifies that installation succeeded. - */ - public function testInstaller() { - $this->assertUrl('user/1'); - $this->assertResponse(200); - } - -}