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
95f6f37d
Unverified
Commit
95f6f37d
authored
Mar 04, 2022
by
alexpott
Browse files
Issue
#3267754
by lauriii: AjaxTest is failing
(cherry picked from commit
e03a5e41
)
parent
0a4fbd45
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php
View file @
95f6f37d
...
...
@@ -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 @
95f6f37d
...
...
@@ -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
=
[
...
...
alexpott
@alexpott
mentioned in commit
5251c7f8
·
Mar 04, 2022
mentioned in commit
5251c7f8
mentioned in commit 5251c7f88d1b4b40252c24ddbb35f5f9c304b32b
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