Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
fd22bf9a
Commit
fd22bf9a
authored
15 years ago
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
#446742
follow-up by sun: Fix syntax change in randomName().
parent
c160d237
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/search/search.test
+2
-2
2 additions, 2 deletions
modules/search/search.test
with
2 additions
and
2 deletions
modules/search/search.test
+
2
−
2
View file @
fd22bf9a
...
...
@@ -456,7 +456,7 @@ class SearchCommentTestCase extends DrupalWebTestCase {
* Verify that comments are rendered using proper format in search results.
*/
function
testSearchResultsComment
()
{
$comment_body
=
$this
->
randomName
(
5
,
''
);
$comment_body
=
$this
->
randomName
(
5
);
variable_set
(
'comment_preview_article'
,
COMMENT_PREVIEW_OPTIONAL
);
// Enable check_plain() for 'Filtered HTML' text format.
...
...
@@ -481,7 +481,7 @@ class SearchCommentTestCase extends DrupalWebTestCase {
$node
=
$this
->
drupalCreateNode
(
array
(
'type'
=>
'article'
));
// Post a comment using 'Full HTML' text format.
$edit_comment
=
array
(
'subject'
=>
$this
->
randomName
(
2
,
''
),
'subject'
=>
$this
->
randomName
(
2
),
'comment'
=>
'<h1>'
.
$comment_body
.
'</h1>'
,
'comment_format'
=>
2
,
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment