You are here

public function LinkUnitTestCase::setUp in Link 7

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

tests/LinkUnitTestCase.test, line 27
Unit tests for Link module's internal APIs.

Class

LinkUnitTestCase
Unit tests for Link module's internal APIs.

Code

public function setUp() {
  drupal_load('module', 'link');
  parent::setUp();
}