You are here

protected function BackendTestBase::regressionTests2 in Search API 8

Executes regression tests which are unpractical to run in between.

1 call to BackendTestBase::regressionTests2()
BackendTestBase::testBackend in tests/src/Kernel/BackendTestBase.php
Tests various indexing scenarios for the search backend.

File

tests/src/Kernel/BackendTestBase.php, line 910

Class

BackendTestBase
Provides a base class for backend tests.

Namespace

Drupal\Tests\search_api\Kernel

Code

protected function regressionTests2() {

  // Create a "prices" field on the test entity type.
  FieldStorageConfig::create([
    'field_name' => 'prices',
    'entity_type' => 'entity_test_mulrev_changed',
    'type' => 'decimal',
    'cardinality' => FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED,
  ])
    ->save();
  FieldConfig::create([
    'field_name' => 'prices',
    'entity_type' => 'entity_test_mulrev_changed',
    'bundle' => 'item',
    'label' => 'Prices',
  ])
    ->save();
  $this
    ->regressionTest1916474();
  $this
    ->regressionTest2284199();
  $this
    ->regressionTest2471509();
  $this
    ->regressionTest2616804();
}