You are here

public function BiblioContributorUnitTest::setUp in Bibliography Module 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/BiblioContributorUnitTest.test, line 22

Class

BiblioContributorUnitTest
Unit tests for contributor functions.

Code

public function setUp() {
  parent::setUp();
  require_once __DIR__ . '/../includes/biblio.contributors.inc';
}