protected function BackendTest::regressionTest2925464 in Search API 8
Tests changing of field types.
See also
https://www.drupal.org/node/2925464
1 call to BackendTest::regressionTest2925464()
- BackendTest::backendSpecificRegressionTests in modules/
search_api_db/ tests/ src/ Kernel/ BackendTest.php - Runs backend specific regression tests.
File
- modules/
search_api_db/ tests/ src/ Kernel/ BackendTest.php, line 698
Class
- BackendTest
- Tests index and search capabilities using the Database search backend.
Namespace
Drupal\Tests\search_api_db\KernelCode
protected function regressionTest2925464() {
$index = $this
->getIndex();
$index
->getField('category')
->setType('integer');
$index
->save();
$index
->getField('category')
->setType('string');
$index
->save();
$this
->indexItems($index
->id());
}