Skip to content

Commit afb1c36

Browse files
committed
ACQP-3741: [ES8] Resolve Unit test failures
- ensure base ES Unit tests are skipped when testing ES8
1 parent 7e02702 commit afb1c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Elasticsearch/Test/Unit/Model/Adapter/ElasticsearchTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class ElasticsearchTest extends TestCase
111111
*/
112112
protected function setUp(): void
113113
{
114-
if (!class_exists(\Elasticsearch\Client::class)) {
114+
if (!class_exists(\Elasticsearch\ClientBuilder::class)) {
115115
$this->markTestSkipped('AC-6597: Skipped as Elasticsearch 8 is configured');
116116
}
117117

0 commit comments

Comments
 (0)