You are here

public function TermSearchSynonymsWebTestCase::setUp in Synonyms 7

SetUp method.

Overrides AbstractSearchSynonymsWebTestCase::setUp

File

synonyms_search/synonyms_search.test, line 370
Tests for the Synonyms Search module.

Class

TermSearchSynonymsWebTestCase
Test Synonyms module integration with Drupal search for taxonomy terms.

Code

public function setUp($modules = array()) {
  $modules[] = 'term_search';
  parent::setUp($modules);
  $active_searches = variable_get('search_active_modules', array(
    'node',
    'user',
  ));
  $active_searches[] = 'term_search';
  variable_set('search_active_modules', $active_searches);
}