You are here

public function SolrBackendTestBase::setUp in Search API Solr 8.2

Same name and namespace in other branches
  1. 8.3 tests/src/Kernel/SolrBackendTestBase.php \Drupal\Tests\search_api_solr\Kernel\SolrBackendTestBase::setUp()
  2. 4.x tests/src/Kernel/SolrBackendTestBase.php \Drupal\Tests\search_api_solr\Kernel\SolrBackendTestBase::setUp()

Overrides BackendTestBase::setUp

2 calls to SolrBackendTestBase::setUp()
SearchApiSolrMultilingualLocationTest::setUp in tests/src/Kernel/SearchApiSolrMultilingualLocationTest.php
SearchApiSolrMultilingualTest::setUp in tests/src/Kernel/SearchApiSolrMultilingualTest.php
2 methods override SolrBackendTestBase::setUp()
SearchApiSolrMultilingualLocationTest::setUp in tests/src/Kernel/SearchApiSolrMultilingualLocationTest.php
SearchApiSolrMultilingualTest::setUp in tests/src/Kernel/SearchApiSolrMultilingualTest.php

File

tests/src/Kernel/SolrBackendTestBase.php, line 51

Class

SolrBackendTestBase
Tests location searches and distance facets using the Solr search backend.

Namespace

Drupal\Tests\search_api_solr\Kernel

Code

public function setUp() {
  parent::setUp();
  $this
    ->installConfigs();
  $this
    ->commonSolrBackendSetUp();
  $this->logger = new InMemoryLogger();
  \Drupal::service('logger.factory')
    ->addLogger($this->logger);
}