Skip to content
Snippets Groups Projects
Commit 1fdd4652 authored by Theresa Grannum's avatar Theresa Grannum Committed by Adam G-H
Browse files

Issue #3311020 by Theresa.Grannum, phenaproxima: Rename staged/9.8.1 to something clearer

parent 910a5ee1
No related branches found
No related tags found
1 merge request!494Issue #3311020: Rename staged/9.8.1 to something clearer and make it coherent
......@@ -423,7 +423,7 @@ class ReadinessValidationTest extends AutomaticUpdatesFunctionalTestBase {
// readiness check (without storing the results), and the checker is no
// longer raising an error.
$this->drupalGet('/admin/modules/automatic-update');
$this->useFixtureDirectoryAsStaged(__DIR__ . '/../../fixtures/staged/9.8.1');
$this->useFixtureDirectoryAsStaged(__DIR__ . '/../../fixtures/drupal-9.8.1-installed');
$assert_session->buttonExists('Update');
// Ensure that the previous results are still displayed on another admin
// page, to confirm that the updater form is not discarding the previous
......
......@@ -52,7 +52,7 @@ class UpdateLockTest extends AutomaticUpdatesFunctionalTestBase {
// We should be able to get partway through an update without issue.
$this->drupalLogin($user_1);
$this->drupalGet('/admin/modules/automatic-update');
Stager::setFixturePath(__DIR__ . '/../../fixtures/staged/9.8.1');
Stager::setFixturePath(__DIR__ . '/../../fixtures/drupal-9.8.1-installed');
$page->pressButton('Update');
$this->checkForMetaRefresh();
$this->assertUpdateReady('9.8.1');
......
......@@ -386,7 +386,7 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
$this->checkForUpdates();
$this->drupalGet('/admin/modules/automatic-update');
Stager::setFixturePath(__DIR__ . '/../../fixtures/staged/9.8.1');
Stager::setFixturePath(__DIR__ . '/../../fixtures/drupal-9.8.1-installed');
$page->pressButton('Update to 9.8.1');
$this->checkForMetaRefresh();
$this->assertUpdateStagedTimes(1);
......@@ -521,7 +521,7 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
$page = $this->getSession()->getPage();
$this->drupalGet('/admin/modules/automatic-update');
Stager::setFixturePath(__DIR__ . '/../../fixtures/staged/9.8.1');
Stager::setFixturePath(__DIR__ . '/../../fixtures/drupal-9.8.1-installed');
// The warning should be visible.
$assert_session = $this->assertSession();
$assert_session->pageTextContains(reset($messages));
......@@ -629,7 +629,7 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
$cached_message = $this->setAndAssertCachedMessage();
$this->drupalGet($update_form_url);
Stager::setFixturePath(__DIR__ . '/../../fixtures/staged/9.8.1');
Stager::setFixturePath(__DIR__ . '/../../fixtures/drupal-9.8.1-installed');
$assert_session->pageTextNotContains($cached_message);
$page->pressButton('Update to 9.8.1');
$this->checkForMetaRefresh();
......@@ -687,7 +687,7 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
$page = $this->getSession()->getPage();
$this->drupalGet('/admin/modules/automatic-update');
Stager::setFixturePath(__DIR__ . '/../../fixtures/staged/9.8.1');
Stager::setFixturePath(__DIR__ . '/../../fixtures/drupal-9.8.1-installed');
$page->pressButton('Update to 9.8.1');
$this->checkForMetaRefresh();
// Confirm that the site was put into maintenance mode if needed.
......@@ -708,7 +708,7 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
$page = $this->getSession()->getPage();
$this->drupalGet('/admin/modules/automatic-update');
Stager::setFixturePath(__DIR__ . '/../../fixtures/staged/9.8.1');
Stager::setFixturePath(__DIR__ . '/../../fixtures/drupal-9.8.1-installed');
$page->pressButton('Update to 9.8.1');
$this->checkForMetaRefresh();
$this->assertUpdateStagedTimes(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment