From 6721271ca6ccebf5ec5828ab1fcbc05627943b25 Mon Sep 17 00:00:00 2001 From: Killesreiter Volker Date: Thu, 12 Dec 2024 12:04:34 +0100 Subject: [PATCH] fix overlapping props --- .../Kernel/DataProducer/ThunderSearchApiTest.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/thunder_gqls/tests/src/Kernel/DataProducer/ThunderSearchApiTest.php b/modules/thunder_gqls/tests/src/Kernel/DataProducer/ThunderSearchApiTest.php index cd85c2249..c12a7236e 100644 --- a/modules/thunder_gqls/tests/src/Kernel/DataProducer/ThunderSearchApiTest.php +++ b/modules/thunder_gqls/tests/src/Kernel/DataProducer/ThunderSearchApiTest.php @@ -27,14 +27,14 @@ class ThunderSearchApiTest extends GraphQLTestBase { * * @var \Drupal\search_api\ServerInterface */ - protected $server; + protected $searchApiServer; /** * The search index used for testing. * * @var \Drupal\search_api\IndexInterface */ - protected $index; + protected $searchApiIndex; /** * {@inheritdoc} @@ -49,15 +49,15 @@ public function setUp(): void { $this->installConfig('search_api'); // Create a test server. - $this->server = Server::create([ + $this->searchApiServer = Server::create([ 'name' => 'Test Server', 'id' => 'test_server', 'status' => 1, 'backend' => 'search_api_test', ]); - $this->server->save(); + $this->searchApiServer->save(); - $this->index = Index::create([ + $this->searchApiIndex = Index::create([ 'name' => 'Test Index', 'id' => 'test_index', 'status' => 1, @@ -67,10 +67,10 @@ public function setUp(): void { 'datasource_settings' => [ 'entity:node' => [], ], - 'server' => $this->server->id(), + 'server' => $this->searchApiServer->id(), 'options' => ['index_directly' => FALSE], ]); - $this->index->save(); + $this->searchApiIndex->save(); $schema = <<