summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.test b/modules/search/search.test
index 2e5750a58..35f43f338 100644
--- a/modules/search/search.test
+++ b/modules/search/search.test
@@ -468,7 +468,7 @@ class SearchCommentTestCase extends DrupalWebTestCase {
function testSearchResultsComment() {
$comment_body = $this->randomName(5);
- variable_set('comment_preview_article', COMMENT_PREVIEW_OPTIONAL);
+ variable_set('comment_preview_article', DRUPAL_OPTIONAL);
// Enable check_plain() for 'Filtered HTML' text format.
$edit = array(
'filters[filter_html_escape][status]' => 1,