function SearchLanguageTestCase::setUp

7.x search.test SearchLanguageTestCase::setUp()

Implementation setUp().

Overrides DrupalWebTestCase::setUp

File

drupal-7.x/modules/search/search.test, line 1946
Tests for search.module.

Class

SearchLanguageTestCase
Test node search with multiple languages.

Code

function setUp() {
  parent::setUp('search', 'locale');

  // Create and login user.
  $test_user = $this->drupalCreateUser(array('access content', 'search content', 'use advanced search', 'administer nodes', 'administer languages', 'access administration pages'));
  $this->drupalLogin($test_user);
}