You are here

protected function ALProfilesAPITest::setUp in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 acquia_lift_profiles/tests/acquia_lift_profiles_unit.test \ALProfilesAPITest::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

acquia_lift_profiles/tests/acquia_lift_profiles_unit.test, line 18
Unit tests for Acquia Lift Profiles module.

Class

ALProfilesAPITest
@file Unit tests for Acquia Lift Profiles module.

Code

protected function setUp() {
  require_once dirname(__FILE__) . '/../includes/acquia_lift_profiles.classes.inc';
  require_once dirname(__FILE__) . '/acquia_lift_profiles.test_classes.inc';
  parent::setUp();
}