summaryrefslogtreecommitdiff
path: root/modules/search/search.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search/search.test')
-rw-r--r--modules/search/search.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/search/search.test b/modules/search/search.test
index 849964dbc..a99d1e00d 100644
--- a/modules/search/search.test
+++ b/modules/search/search.test
@@ -303,6 +303,9 @@ class SearchRankingTestCase extends DrupalWebTestCase {
node_update_index();
search_update_totals();
+ // Refresh variables after the treatment.
+ $this->refreshVariables();
+
// Add a comment to one of the nodes.
$edit = array('subject' => 'my comment title', 'comment' => 'some random comment');
$this->drupalGet('comment/reply/' . $nodes['comments'][1]->nid);