Skip to content
Snippets Groups Projects
Unverified Commit c157ed68 authored by Ted Bowman's avatar Ted Bowman
Browse files

Revert "remove update tabs"

This reverts commit 13d96256.
parent 13d96256
No related branches found
No related tags found
No related merge requests found
......@@ -84,15 +84,3 @@ function automatic_updates_form_update_manager_update_form_alter(&$form, FormSta
}
}
}
/**
* Implements hook_local_tasks_alter().
*/
function automatic_updates_local_tasks_alter(&$local_tasks) {
// The Update modules current update form only allows updating modules and
// themes via downloading archive files which could produce unexpected results
// on a site using our Composer based updater.
unset($local_tasks['update.report_update']);
unset($local_tasks['update.module_update']);
unset($local_tasks['update.theme_update']);
}
......@@ -98,7 +98,9 @@ class UpdaterFormTest extends BrowserTestBase {
// https://www.drupal.org/i/3233564
$this->clickLink('Extend');
$assert_session->pageTextContainsOnce('There is a security update available for your version of Drupal.');
$this->clickLink('Automatic Updates');
$this->clickLink('Update');
$assert_session->pageTextContainsOnce('Drupal core updates are supported by the enabled Automatic Updates module');
$this->clickLink('Automatic Updates module');
$assert_session->pageTextNotContains('There is a security update available for your version of Drupal.');
$cells = $assert_session->elementExists('css', '#edit-projects .update-update-security')
->findAll('css', 'td');
......
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