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
5251c7f8
Commit
5251c7f8
authored
Mar 04, 2022
by
alexpott
Committed by
xjm
Mar 04, 2022
Browse files
Issue
#3267754
by lauriii: AjaxTest is failing
(cherry picked from commit
e03a5e41
) (cherry picked from commit
95f6f37d
)
parent
f1702439
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
View file @
5251c7f8
...
...
@@ -331,7 +331,7 @@ protected function getRenderTypes() {
'not-wrapped'
=>
'not-wrapped'
,
'comment-string-not-wrapped'
=>
'<!-- COMMENT -->comment-string-not-wrapped'
,
'comment-not-wrapped'
=>
'<!-- COMMENT --><div class="comment-not-wrapped">comment-not-wrapped</div>'
,
'svg'
=>
'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><rect x="0" y="0" height="10" width="10" fill="green"
/
></svg>'
,
'svg'
=>
'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><rect x="0" y="0" height="10" width="10" fill="green"
></rect
></svg>'
,
'empty'
=>
''
,
];
$render_multiple_root
=
[
...
...
core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php
View file @
5251c7f8
...
...
@@ -102,7 +102,7 @@ public function testInsertAjaxResponse() {
'not-wrapped'
=>
'not-wrapped'
,
'comment-string-not-wrapped'
=>
'<!-- COMMENT -->comment-string-not-wrapped'
,
'comment-not-wrapped'
=>
'<!-- COMMENT --><div class="comment-not-wrapped">comment-not-wrapped</div>'
,
'svg'
=>
'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><rect x="0" y="0" height="10" width="10" fill="green"
/
></svg>'
,
'svg'
=>
'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><rect x="0" y="0" height="10" width="10" fill="green"
></rect
></svg>'
,
'empty'
=>
''
,
];
$render_multiple_root_unwrapper
=
[
...
...
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