1 search.test SearchLanguageTestCase::setUp()

Implementation setUp().

Overrides BackdropWebTestCase::setUp

File

core/modules/search/tests/search.test, line 1962
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->backdropCreateUser(array('access content', 'search content', 'use advanced search', 'administer nodes', 'administer languages', 'access administration pages'));
  $this->backdropLogin($test_user);
}