public function IntegrationTest::testFramework in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 tests/src/Functional/IntegrationTest.php \Drupal\Tests\search_api_solr\Functional\IntegrationTest::testFramework()
- 8 tests/src/Functional/IntegrationTest.php \Drupal\Tests\search_api_solr\Functional\IntegrationTest::testFramework()
- 8.2 tests/src/Functional/IntegrationTest.php \Drupal\Tests\search_api_solr\Functional\IntegrationTest::testFramework()
Tests various operations via the Search API's admin UI.
File
- tests/
src/ Functional/ IntegrationTest.php, line 49
Class
- IntegrationTest
- Tests the overall functionality of the Search API framework and admin UI.
Namespace
Drupal\Tests\search_api_solr\FunctionalCode
public function testFramework() {
$this
->createServer();
$this
->createServerDuplicate();
// @todo should work but doesn't.
// $this->checkServerAvailability();
$this
->createIndex();
$this
->createIndexDuplicate();
$this
->editServer();
$this
->editIndex();
$this
->checkUserIndexCreation();
// This tests doesn't cover the backend. No need to run it on Solr again.
// $this->checkContentEntityTracking();
// @todo overwrite.
// $this->enableAllProcessors();
$this
->checkFieldLabels();
// @todo overwrite.
// $this->addFieldsToIndex();
// $this->checkDataTypesTable();
// $this->removeFieldsFromIndex();
// $this->checkReferenceFieldsNonBaseFields();
// These tests don't cover the backend. No need to run them on Solr again.
// $this->configureFilter();
// $this->configureFilterPage();
// $this->checkProcessorChanges();
// $this->changeProcessorFieldBoost();
$this
->setReadOnly();
// @todo review.
// $this->disableEnableIndex();
$this
->changeIndexDatasource();
$this
->changeIndexServer();
// @todo review.
// $this->deleteServer();
}