public function UpdaterFormTest::testMinorVersionUpdateNotSupported in Automatic Updates 8.2
Tests that updating to a different minor version isn't supported.
@dataProvider providerUpdateFormReferringUrl
Parameters
string $update_form_url: The URL of the update form to visit.
File
- tests/
src/ Functional/ UpdaterFormTest.php, line 225
Class
Namespace
Drupal\Tests\automatic_updates\FunctionalCode
public function testMinorVersionUpdateNotSupported(string $update_form_url) : void {
$this
->setCoreVersion('9.7.1');
$this
->drupalGet($update_form_url);
$assert_session = $this
->assertSession();
$assert_session
->pageTextContainsOnce('Updating from one minor version to another is not supported.');
$assert_session
->buttonNotExists('Update');
}