You are here

function SearchLanguageTestCase::setUp in Drupal 7

Implementation setUp().

Overrides DrupalWebTestCase::setUp

File

modules/search/search.test, line 1989
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);
}