SearchExcerptTestCase::setUp

7 search.test SearchExcerptTestCase::setUp()
8 search.test SearchExcerptTestCase::setUp()

Sets up unit test environment.

Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.

Overrides DrupalUnitTestCase::setUp

File

modules/search/search.test, line 1579
Tests for search.module.

Code

function setUp() {
  drupal_load('module', 'search');
  parent::setUp();
}
Login or register to post comments