summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/search/search.test b/modules/search/search.test
index 29fa9ef3f..f0d3a6a4b 100644
--- a/modules/search/search.test
+++ b/modules/search/search.test
@@ -363,7 +363,7 @@ class SearchRankingTestCase extends DrupalWebTestCase {
function testRankings() {
// Login with sufficient privileges.
- $this->drupalLogin($this->drupalCreateUser(array('post comments without approval', 'create page content')));
+ $this->drupalLogin($this->drupalCreateUser(array('skip comment approval', 'create page content')));
// Build a list of the rankings to test.
$node_ranks = array('sticky', 'promote', 'relevance', 'recent', 'comments', 'views');
@@ -518,7 +518,7 @@ class SearchRankingTestCase extends DrupalWebTestCase {
*/
function testDoubleRankings() {
// Login with sufficient privileges.
- $this->drupalLogin($this->drupalCreateUser(array('post comments without approval', 'create page content')));
+ $this->drupalLogin($this->drupalCreateUser(array('skip comment approval', 'create page content')));
// See testRankings() above - build a node that will rank high for sticky.
$settings = array(
@@ -695,7 +695,7 @@ class SearchCommentTestCase extends DrupalWebTestCase {
filter_permission_name($full_html_format),
'administer permissions',
'create page content',
- 'post comments without approval',
+ 'skip comment approval',
'access comments',
);
$this->admin_user = $this->drupalCreateUser($permissions);
@@ -949,7 +949,7 @@ class SearchCommentCountToggleTestCase extends DrupalWebTestCase {
parent::setUp('search');
// Create searching user.
- $this->searching_user = $this->drupalCreateUser(array('search content', 'access content', 'access comments', 'post comments without approval'));
+ $this->searching_user = $this->drupalCreateUser(array('search content', 'access content', 'access comments', 'skip comment approval'));
// Create initial nodes.
$node_params = array('type' => 'article', 'body' => array(LANGUAGE_NONE => array(array('value' => 'SearchCommentToggleTestCase'))));
@@ -1082,7 +1082,7 @@ class SearchKeywordsConditions extends DrupalWebTestCase {
function setUp() {
parent::setUp('search', 'search_extra_type');
// Create searching user.
- $this->searching_user = $this->drupalCreateUser(array('search content', 'access content', 'access comments', 'post comments without approval'));
+ $this->searching_user = $this->drupalCreateUser(array('search content', 'access content', 'access comments', 'skip comment approval'));
// Login with sufficient privileges.
$this->drupalLogin($this->searching_user);
// Test with all search modules enabled.