protected function UpdateTestBase::checkForUpdates in Automatic Updates 8.2
Checks for available updates.
Assumes that a user with the appropriate access is logged in.
1 call to UpdateTestBase::checkForUpdates()
- CoreUpdateTest::createTestSite in tests/
src/ Build/ CoreUpdateTest.php - Uses our already-installed dependencies to build a test site to update.
File
- tests/
src/ Build/ UpdateTestBase.php, line 291
Class
- UpdateTestBase
- Base class for tests that perform in-place updates.
Namespace
Drupal\Tests\automatic_updates\BuildCode
protected function checkForUpdates() : void {
$this
->visit('/admin/reports/updates');
$this
->getMink()
->getSession()
->getPage()
->clickLink('Check manually');
$this
->waitForBatchJob();
}