protected function AcquiaLiftWebTestBase::configureAcquiaLiftAccount in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 tests/acquia_lift.test \AcquiaLiftWebTestBase::configureAcquiaLiftAccount()
Helper method to configure an Acquia Lift account.
2 calls to AcquiaLiftWebTestBase::configureAcquiaLiftAccount()
- AcquiaLiftWebTestBase::createTestAgent in tests/
acquia_lift.test - Help function to create and test queue creation of Personalize Agent
- AcquiaLiftWebTestConfig::testLiftAgentAvailibility in tests/
acquia_lift.test
File
- tests/
acquia_lift.test, line 297 - Integration tests for Acquia Lift module.
Class
- AcquiaLiftWebTestBase
- @file Integration tests for Acquia Lift module.
Code
protected function configureAcquiaLiftAccount() {
$edit = array(
'acquia_lift_account_info[owner_code]' => $this->liftAOwnerCode,
'acquia_lift_account_info[api_key]' => $this->liftAPIKey,
'acquia_lift_account_info[admin_key]' => $this->liftAdminKey,
'acquia_lift_account_info[api_url]' => $this->liftAPIUrl,
);
$this
->drupalLogin($this->adminUser);
$this
->drupalPost('admin/config/content/personalize/acquia_lift', $edit, $this
->getButton('config'));
$this
->resetAll();
}