Skip to content

Commit f16e1f8

Browse files
committed
Merge remote-tracking branch 'origin/AC-7821' into Hammer_Regression_issues_07Feb23
2 parents b1362a7 + d16e0ce commit f16e1f8

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
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\ClientBuilder::class)) {
114+
if (!class_exists(\Elasticsearch\Client::class)) {
115115
$this->markTestSkipped('AC-6597: Skipped as Elasticsearch 8 is configured');
116116
}
117117

app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
define([
6+
define([
77
'jquery',
88
'Magento_Ui/js/modal/confirm',
99
'Magento_Ui/js/modal/alert',
@@ -158,6 +158,7 @@ define([
158158
//this.loadArea(['header', 'sidebar','data'], true);
159159
this.dataShow();
160160
this.loadArea(['header', 'data'], true);
161+
location.reload();
161162
},
162163

163164
setCurrencyId: function (id) {

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"colinmollenhour/credis": "^1.13",
3939
"colinmollenhour/php-redis-session-abstract": "^1.5",
4040
"composer/composer": "^2.0, !=2.2.16",
41-
"elasticsearch/elasticsearch": "^7.17",
41+
"elasticsearch/elasticsearch": "^7.17||^8.5",
4242
"ezyang/htmlpurifier": "^4.16",
4343
"guzzlehttp/guzzle": "^7.5",
4444
"laminas/laminas-captcha": "^2.12",

dev/tests/integration/testsuite/Magento/Elasticsearch7/SearchAdapter/ConnectionManagerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ protected function setUp(): void
4343
*/
4444
public function testCorrectElasticsearchClientEs7()
4545
{
46+
if (!class_exists(\Elasticsearch\Client::class)) {
47+
$this->markTestSkipped('AC-6597: Skipped as Elasticsearch 8 is configured');
48+
}
49+
4650
$connection = $this->connectionManager->getConnection();
4751
$this->assertInstanceOf(Elasticsearch::class, $connection);
4852
}

dev/tests/static/testsuite/Magento/Test/Integrity/_files/extension_dependencies_test/allowed_dependencies/ce.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
return [
99
'Magento\Elasticsearch' => [
1010
'Magento\Elasticsearch7',
11-
'Magento\Elasticsearch8',
1211
'Magento\OpenSearch'
1312
]
1413
];

0 commit comments

Comments
 (0)