public function AcquiaSearchWebTestCase::enableAcquiaSearchEnvironment in Acquia Connector 7.3
Same name and namespace in other branches
- 7.2 acquia_search/tests/acquia_search.test \AcquiaSearchWebTestCase::enableAcquiaSearchEnvironment()
Enable Acquia Search env.
Enables the environment of Acquia Search and clears the static caches so that the change is reflected in the API functions.
3 calls to AcquiaSearchWebTestCase::enableAcquiaSearchEnvironment()
- AcquiaSearchWebTestCase::testDefaultSearch in acquia_search/
tests/ acquia_search.test - Test default search.
- AcquiaSearchWebTestCase::testEnvironment in acquia_search/
tests/ acquia_search.test - Tests Acquia Search environment creation.
- AcquiaSearchWebTestCase::testEnvironmentUi in acquia_search/
tests/ acquia_search.test - Test Environment UI.
File
- acquia_search/
tests/ acquia_search.test, line 532 - Tests for the Acquia Search module.
Class
- AcquiaSearchWebTestCase
- Tests the functionality of the Acquia Search module.
Code
public function enableAcquiaSearchEnvironment() {
// API function that creates the environemnt if it doesn't exist yet.
acquia_search_enable_acquia_solr_environment();
$this
->clearStaticCache();
}