Skip to content

Commit

Permalink
B2B-1832: Error when reindex Catalog Search index during the snapshot…
Browse files Browse the repository at this point in the history
… of elasticsearch

- unit test fix
  • Loading branch information
Roman Hanin authored and Roman Hanin committed Jun 8, 2021
1 parent 9d0c7c5 commit 3083997
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public function testCleanIndex()
->method('getIndexName')
->willReturnMap([[1, 'product', [1 => null], '_product_1_v0']]);

$this->client->expects($this->any())
$this->client->expects($this->atLeastOnce())
->method('indexExists')
->willReturnMap(
[
Expand Down

0 comments on commit 3083997

Please sign in to comment.