Skip to content

Commit 3204d2d

Browse files
committed
TASK: Change _retry_on_conflict to retry_on_conflict
1 parent 51ec4b6 commit 3204d2d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Classes/Driver/Version5/IndexerDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function document(string $indexName, NodeInterface $node, ElasticSearchDo
4444
'_type' => '_doc',
4545
'_id' => $document->getId(),
4646
'_index' => $indexName,
47-
'_retry_on_conflict' => 3
47+
'retry_on_conflict' => 3
4848
]
4949
],
5050
// http://www.elasticsearch.org/guide/en/elasticsearch/reference/5.0/docs-update.html

Tests/Functional/Eel/ElasticSearchQueryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ public function nodesWillBeSortedAsc(): void
329329
/** @var ElasticSearchQueryResult $result */
330330
$node = $result->getFirst();
331331

332-
$this->assertInstanceOf(NodeInterface::class, $node);
333-
$this->assertEquals('chicken', $node->getProperty('title'), 'Asserting a asc sort order by property title');
332+
static::assertInstanceOf(NodeInterface::class, $node);
333+
static::assertEquals('chicken', $node->getProperty('title'), 'Asserting a asc sort order by property title');
334334
}
335335

336336
/**
@@ -345,7 +345,7 @@ public function sortValuesAreReturned(): void
345345
->execute();
346346

347347
foreach ($result as $node) {
348-
$this->assertEquals([$node->getProperty('title')], $result->getSortValuesForNode($node));
348+
static::assertEquals([$node->getProperty('title')], $result->getSortValuesForNode($node));
349349
}
350350
}
351351

0 commit comments

Comments
 (0)