File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Elasticsearch7/Test/Unit/Model/DataProvider/Base
Elasticsearch/Test/Unit/Model/Adapter
dev/tests/integration/testsuite/Magento/Elasticsearch7/SearchAdapter Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ class ElasticsearchTest extends TestCase
111
111
*/
112
112
protected function setUp (): void
113
113
{
114
- if (!class_exists (\Elasticsearch \Client ::class)) {
114
+ if (!class_exists (\Elasticsearch \ClientBuilder ::class)) { /** @phpstan-ignore-line */
115
115
$ this ->markTestSkipped ('AC-6597: Skipped as Elasticsearch 8 is configured ' );
116
116
}
117
117
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ public function testGetItemsWithEnabledSearchSuggestion(): void
226
226
*/
227
227
public function testGetItemsException (): void
228
228
{
229
- if (!class_exists (\Elasticsearch \Client ::class)) {
229
+ if (!class_exists (\Elasticsearch \ClientBuilder ::class)) { /** @phpstan-ignore-line */
230
230
$ this ->markTestSkipped ('AC-6597: Skipped as Elasticsearch 8 is configured ' );
231
231
}
232
232
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ protected function setUp(): void
43
43
*/
44
44
public function testCorrectElasticsearchClientEs7 ()
45
45
{
46
- if (!class_exists (\Elasticsearch \Client ::class)) {
46
+ if (!class_exists (\Elasticsearch \ClientBuilder ::class)) { /** @phpstan-ignore-line */
47
47
$ this ->markTestSkipped ('AC-6597: Skipped as Elasticsearch 8 is configured ' );
48
48
}
49
49
You can’t perform that action at this time.
0 commit comments