Issue #3265376 by xjm: Fix UpdateScriptTest when MINIMUM_SUPPORTED_PHP is used

merge-requests/1734/merge
Alex Pott 2022-02-20 10:32:22 +00:00
parent 90f9d147be
commit 3f55b8268f
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
1 changed files with 2 additions and 0 deletions

View File

@ -661,6 +661,7 @@ class UpdateScriptTest extends BrowserTestBase {
$this->drupalLogin($full_admin_user);
$this->drupalGet($this->updateUrl, ['external' => TRUE]);
$this->assertSession()->statusCodeEquals(200);
$this->updateRequirementsProblem();
$this->clickLink('maintenance mode');
$this->assertSession()->statusCodeEquals(200);
$this->assertSession()->elementContains('css', 'main h1', 'Maintenance mode');
@ -670,6 +671,7 @@ class UpdateScriptTest extends BrowserTestBase {
$this->drupalLogin($this->updateUser);
$this->drupalGet($this->updateUrl, ['external' => TRUE]);
$this->assertSession()->statusCodeEquals(200);
$this->updateRequirementsProblem();
$this->clickLink('maintenance mode');
$this->assertSession()->statusCodeEquals(200);
$this->assertSession()->elementContains('css', 'main h1', 'Maintenance mode');