Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
3f55b826
Unverified
Commit
3f55b826
authored
Feb 20, 2022
by
alexpott
Browse files
Issue
#3265376
by xjm: Fix UpdateScriptTest when MINIMUM_SUPPORTED_PHP is used
parent
90f9d147
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
View file @
3f55b826
...
...
@@ -661,6 +661,7 @@ public function testMaintenanceModeLink() {
$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 @@ public function testMaintenanceModeLink() {
$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'
);
...
...
alexpott
@alexpott
mentioned in commit
ffdbfa52
·
Feb 20, 2022
mentioned in commit
ffdbfa52
mentioned in commit ffdbfa52fe1f09d88ba448bec588dea5f0a737b6
Toggle commit list
alexpott
@alexpott
mentioned in commit
a17f93cc
·
Feb 20, 2022
mentioned in commit
a17f93cc
mentioned in commit a17f93cce31d9dc57b58223eef13cd0739a58c10
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment