Skip to content

Commit

Permalink
fix overlapping props
Browse files Browse the repository at this point in the history
  • Loading branch information
ol0lll committed Dec 12, 2024
1 parent b7f0252 commit 6721271
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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,
Expand All @@ -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 = <<<GQL
type Query {
Expand Down

0 comments on commit 6721271

Please sign in to comment.