You are here

private function AcquiaLiftsWebTest::configureLift in Acquia Lift Connector 7.3

Helper function to configure acquia_lift settings.

7 calls to AcquiaLiftsWebTest::configureLift()
AcquiaLiftsWebTest::testFieldMappings in tests/acquia_lift.test
AcquiaLiftsWebTest::testIdentityParams in tests/acquia_lift.test
Tests identity param configuration and js settings.
AcquiaLiftsWebTest::testLiftCredentials in tests/acquia_lift.test
Test credentials are output for Lift.
AcquiaLiftsWebTest::testNodePage in tests/acquia_lift.test
AcquiaLiftsWebTest::testNonNodePage in tests/acquia_lift.test

... See full list

File

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

Class

AcquiaLiftsWebTest
Tests Acquia Lift functionality.

Code

private function configureLift() {
  $settings = array(
    'acquia_lift_account_id' => 'MY_ACCOUNT_ID',
    'acquia_lift_site_id' => 'MY_SITE_ID',
    'acquia_lift_assets_url' => 'https://example.com/latest',
  );
  foreach ($settings as $setting => $value) {
    variable_set($setting, $value);
  }
}