$session->responseContains("Upgrade a site by importing its files and the data from its database into a clean and empty new install of Drupal $this->destinationSiteVersion.");
$this->drupalPostForm(NULL,[],'Continue');
$session->pageTextContains('Provide credentials for the database of the Drupal site you want to upgrade.');
$session->fieldExists('mysql[host]');
// Ensure submitting the form with invalid database credentials gives us a
$session->responseContains("Upgrade a site by importing its files and the data from its database into a clean and empty new install of Drupal $this->destinationSiteVersion.");
@@ -40,38 +39,12 @@ public function testMigrateUpgradeExecute() {
$this->drupalPostForm(NULL,[],t('Continue'));
$session->pageTextContains('Provide credentials for the database of the Drupal site you want to upgrade.');
$session->responseContains('Failed to read from Document root for files.');
}
else{
$session->responseContains('Failed to read from Document root for public files.');
$session->responseContains('Failed to read from Document root for private files.');
}
// Restart the upgrade process.
$this->drupalGet('/upgrade');
$session->responseContains("Upgrade a site by importing its files and the data from its database into a clean and empty new install of Drupal $this->destinationSiteVersion.");
@@ -103,7 +76,7 @@ public function testMigrateUpgradeExecute() {