private function UpdaterFormTest::deleteStagedUpdate in Automatic Updates 8.2
Deletes a staged, failed update.
1 call to UpdaterFormTest::deleteStagedUpdate()
- UpdaterFormTest::testUpdateErrors in tests/
src/ Functional/ UpdaterFormTest.php - Tests handling of errors and warnings during the update process.
File
- tests/
src/ Functional/ UpdaterFormTest.php, line 238
Class
Namespace
Drupal\Tests\automatic_updates\FunctionalCode
private function deleteStagedUpdate() : void {
$session = $this
->getSession();
$session
->getPage()
->pressButton('Delete existing update');
$this
->assertSession()
->pageTextContains('Staged update deleted');
$session
->reload();
}