You are here

function AcquiaLiftsWebTest::tearDown in Acquia Lift Connector 7.3

Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

Overrides DrupalWebTestCase::tearDown

File

tests/acquia_lift.test, line 44
Tests for Acquia Lift Profiles module.

Class

AcquiaLiftsWebTest
Tests Acquia Lift functionality.

Code

function tearDown() {
  $vars = array(
    'acquia_lift_identity_param',
    'acquia_lift_identity_type_param',
    'acquia_lift_default_identity_type',
    'acquia_lift_field_mappings',
    'acquia_lift_udf_mappings',
    'acquia_lift_identity_param',
    'acquia_lift_identity_type_param',
    'acquia_lift_account_id',
    'acquia_lift_site_id',
    'acquia_lift_assets_url',
    'acquia_lift_decision_api_url',
    'acquia_lift_oauth_url',
    'acquia_lift_ignore_path_patterns',
    'acquia_lift_bootstrap_mode',
    'acquia_lift_content_replacement_mode',
    'acquia_lift_content_origin',
    'acquia_lift_context_language',
  );
  foreach ($vars as $index => $name) {
    variable_del($name);
  }
  parent::tearDown();
}