Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 9bb3f7c

Browse files
committed
Migration of Elasticsearch Integration from Magento Commerce to Magento Open Source
1 parent 3511245 commit 9bb3f7c

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

dev/tests/integration/testsuite/Magento/Elasticsearch/Model/Client/ElasticsearchTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private function search($text)
9595
}
9696

9797
/**
98-
* @magentoConfigFixture default/catalog/search/engine elasticsearch5
98+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
9999
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix composite_product_search
100100
*/
101101
public function testSearchConfigurableProductBySimpleProductName()

dev/tests/integration/testsuite/Magento/Elasticsearch/Model/Indexer/IndexHandlerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected function setUp()
111111

112112
/**
113113
* Test reindex process
114-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
114+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
115115
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix indexerhandlertest
116116
*/
117117
public function testReindexAll()
@@ -128,7 +128,7 @@ public function testReindexAll()
128128
}
129129

130130
/**
131-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
131+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
132132
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix indexerhandlertest
133133
*/
134134
public function testReindexRowAfterEdit()
@@ -156,7 +156,7 @@ public function testReindexRowAfterEdit()
156156
}
157157

158158
/**
159-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
159+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
160160
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix indexerhandlertest
161161
*/
162162
public function testReindexRowAfterMassAction()
@@ -196,7 +196,7 @@ public function testReindexRowAfterMassAction()
196196
}
197197

198198
/**
199-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
199+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
200200
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix indexerhandlertest
201201
* @magentoAppArea adminhtml
202202
*/

dev/tests/integration/testsuite/Magento/Elasticsearch/Model/Indexer/ReindexAllTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function setUp()
6868
/**
6969
* Test search of all products after full reindex
7070
*
71-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
71+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
7272
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix indexerhandlertest_configurable
7373
* @magentoDataFixture Magento/ConfigurableProduct/_files/configurable_products.php
7474
*/
@@ -82,7 +82,7 @@ public function testSearchAll()
8282
/**
8383
* Test search of specific product after full reindex
8484
*
85-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
85+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
8686
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix indexerhandlertest_configurable
8787
* @magentoDataFixture Magento/ConfigurableProduct/_files/configurable_products.php
8888
*/

dev/tests/integration/testsuite/Magento/Elasticsearch/SearchAdapter/AdapterTest.php

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected function createAdapter()
4848

4949
/**
5050
* @magentoAppIsolation enabled
51-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
51+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
5252
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
5353
*/
5454
public function testMatchQuery()
@@ -58,7 +58,7 @@ public function testMatchQuery()
5858

5959
/**
6060
* @magentoAppIsolation enabled
61-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
61+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
6262
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
6363
*/
6464
public function testMatchOrderedQuery()
@@ -70,7 +70,7 @@ public function testMatchOrderedQuery()
7070

7171
/**
7272
* @magentoAppIsolation enabled
73-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
73+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
7474
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
7575
*/
7676
public function testAggregationsQuery()
@@ -80,7 +80,7 @@ public function testAggregationsQuery()
8080

8181
/**
8282
* @magentoAppIsolation enabled
83-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
83+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
8484
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
8585
*/
8686
public function testMatchQueryFilters()
@@ -92,7 +92,7 @@ public function testMatchQueryFilters()
9292
* Range filter test with all fields filled
9393
*
9494
* @magentoAppIsolation enabled
95-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
95+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
9696
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
9797
*/
9898
public function testRangeFilterWithAllFields()
@@ -104,7 +104,7 @@ public function testRangeFilterWithAllFields()
104104
* Range filter test with all fields filled
105105
*
106106
* @magentoAppIsolation enabled
107-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
107+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
108108
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
109109
*/
110110
public function testRangeFilterWithoutFromField()
@@ -116,7 +116,7 @@ public function testRangeFilterWithoutFromField()
116116
* Range filter test with all fields filled
117117
*
118118
* @magentoAppIsolation enabled
119-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
119+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
120120
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
121121
*/
122122
public function testRangeFilterWithoutToField()
@@ -128,7 +128,7 @@ public function testRangeFilterWithoutToField()
128128
* Term filter test
129129
*
130130
* @magentoAppIsolation enabled
131-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
131+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
132132
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
133133
*/
134134
public function testTermFilter()
@@ -140,7 +140,7 @@ public function testTermFilter()
140140
* Term filter test
141141
*
142142
* @magentoAppIsolation enabled
143-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
143+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
144144
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
145145
*/
146146
public function testTermFilterArray()
@@ -152,7 +152,7 @@ public function testTermFilterArray()
152152
* Term filter test
153153
*
154154
* @magentoAppIsolation enabled
155-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
155+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
156156
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
157157
*/
158158
public function testWildcardFilter()
@@ -164,7 +164,7 @@ public function testWildcardFilter()
164164
* Request limits test
165165
*
166166
* @magentoAppIsolation enabled
167-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
167+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
168168
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
169169
*/
170170
public function testSearchLimit()
@@ -176,7 +176,7 @@ public function testSearchLimit()
176176
* Bool filter test
177177
*
178178
* @magentoAppIsolation enabled
179-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
179+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
180180
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
181181
*/
182182
public function testBoolFilter()
@@ -188,7 +188,7 @@ public function testBoolFilter()
188188
* Test bool filter with nested negative bool filter
189189
*
190190
* @magentoAppIsolation enabled
191-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
191+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
192192
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
193193
*/
194194
public function testBoolFilterWithNestedNegativeBoolFilter()
@@ -200,7 +200,7 @@ public function testBoolFilterWithNestedNegativeBoolFilter()
200200
* Test range inside nested negative bool filter
201201
*
202202
* @magentoAppIsolation enabled
203-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
203+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
204204
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
205205
*/
206206
public function testBoolFilterWithNestedRangeInNegativeBoolFilter()
@@ -213,7 +213,7 @@ public function testBoolFilterWithNestedRangeInNegativeBoolFilter()
213213
*
214214
* @dataProvider elasticSearchAdvancedSearchDataProvider
215215
* @magentoAppIsolation enabled
216-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
216+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
217217
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
218218
* @param string $nameQuery
219219
* @param string $descriptionQuery
@@ -259,7 +259,7 @@ public function elasticSearchAdvancedSearchDataProvider()
259259
/**
260260
* @magentoAppIsolation enabled
261261
* @magentoDataFixture Magento/Framework/Search/_files/filterable_attribute.php
262-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
262+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
263263
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
264264
*/
265265
public function testCustomFilterableAttribute()
@@ -274,7 +274,7 @@ public function testCustomFilterableAttribute()
274274
*
275275
* @magentoAppIsolation enabled
276276
* @magentoDataFixture Magento/Framework/Search/_files/filterable_attributes.php
277-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
277+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
278278
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
279279
* @dataProvider filterByAttributeValuesDataProvider
280280
* @param string $requestName
@@ -294,7 +294,7 @@ public function testFilterByAttributeValues($requestName, $additionalData)
294294
* @param $rangeFilter
295295
* @param $expectedRecordsCount
296296
* @magentoDataFixture Magento/Framework/Search/_files/date_attribute.php
297-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
297+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
298298
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
299299
* @magentoAppIsolation enabled
300300
* @dataProvider dateDataProvider
@@ -309,7 +309,7 @@ public function testAdvancedSearchDateField($rangeFilter, $expectedRecordsCount)
309309
/**
310310
* @magentoDataFixture Magento/Framework/Search/_files/product_configurable.php
311311
* @magentoAppIsolation enabled
312-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
312+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
313313
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
314314
*/
315315
public function testAdvancedSearchCompositeProductWithOutOfStockOption()
@@ -321,7 +321,7 @@ public function testAdvancedSearchCompositeProductWithOutOfStockOption()
321321
/**
322322
* @magentoDataFixture Magento/Framework/Search/_files/product_configurable_with_disabled_child.php
323323
* @magentoAppIsolation enabled
324-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
324+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
325325
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
326326
*/
327327
public function testAdvancedSearchCompositeProductWithDisabledChild()
@@ -335,7 +335,7 @@ public function testAdvancedSearchCompositeProductWithDisabledChild()
335335
/**
336336
* @magentoDataFixture Magento/Framework/Search/_files/search_weight_products.php
337337
* @magentoAppIsolation enabled
338-
* @magentoConfigFixture current_store catalog/search/engine elasticsearch
338+
* @magentoConfigFixture default/catalog/search/engine elasticsearch
339339
* @magentoConfigFixture current_store catalog/search/elasticsearch_index_prefix adaptertest
340340
*/
341341
public function testSearchQueryBoost()

0 commit comments

Comments
 (0)