You are here

public function SearchDeprecationTest::testUpdateTotals in Drupal 8

@expectedDeprecation search_update_totals() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use custom implementation of \Drupal\search\SearchIndexInterface instead. See https://www.drupal.org/node/3075696

File

core/modules/search/tests/src/Kernel/SearchDeprecationTest.php, line 59

Class

SearchDeprecationTest
Tests deprecated search methods.

Namespace

Drupal\Tests\search\Kernel

Code

public function testUpdateTotals() {
  $this
    ->assertNull(search_update_totals());
}