You are here

NumberFieldBoostTest.php in Search API Solr 4.x

File

tests/src/Kernel/Processor/NumberFieldBoostTest.php
View source
<?php

namespace Drupal\Tests\search_api_solr\Kernel\Processor;

use Drupal\Tests\search_api\Kernel\Processor\NumberFieldBoostTest as SearchApiNumberFieldBoostTest;

/**
 * Tests the "Number field boost" processor.
 *
 * @see \Drupal\search_api\Plugin\search_api\processor\NumberFieldBoost
 *
 * @group search_api_solr
 *
 * @coversDefaultClass \Drupal\search_api\Plugin\search_api\processor\NumberFieldBoost
 */
class NumberFieldBoostTest extends SearchApiNumberFieldBoostTest {
  use SolrBackendTrait;

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'search_api_solr',
    'search_api_solr_test',
  ];

  /**
   * {@inheritdoc}
   */
  public function setUp($processor = NULL) : void {
    parent::setUp();
    $this
      ->enableSolrServer();
  }

}

Classes

Namesort descending Description
NumberFieldBoostTest Tests the "Number field boost" processor.