You are here

protected function BackendTest::regressionTest2846932 in Search API 8

Tests changing a field boost to a floating point value.

See also

https://www.drupal.org/node/2846932

1 call to BackendTest::regressionTest2846932()
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 616

Class

BackendTest
Tests index and search capabilities using the Database search backend.

Namespace

Drupal\Tests\search_api_db\Kernel

Code

protected function regressionTest2846932() {
  $index = $this
    ->getIndex();
  $index
    ->getField('body')
    ->setBoost(0.8);
  $index
    ->save();
}