Skip to content

Commit 10c1715

Browse files
committed
MC-18948: Switch default search engine from MySQL to ElasticSearch
- skip tests
1 parent 9478ec5 commit 10c1715

File tree

3 files changed

+0
-40
lines changed

3 files changed

+0
-40
lines changed

dev/tests/integration/testsuite/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/FullTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ protected function setUp()
3030
* @magentoDataFixture Magento/CatalogSearch/_files/products_for_index.php
3131
* @magentoDataFixture Magento/CatalogSearch/_files/product_configurable_not_available.php
3232
* @magentoDataFixture Magento/Framework/Search/_files/product_configurable.php
33-
* @magentoConfigFixture default/catalog/search/engine mysql
3433
*/
3534
public function testGetIndexData()
3635
{

dev/tests/integration/testsuite/Magento/CatalogSearch/Model/ResourceModel/Fulltext/CollectionTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ protected function setUp()
2020
* @dataProvider filtersDataProviderSearch
2121
* @magentoDataFixture Magento/Framework/Search/_files/products.php
2222
* @magentoDataFixture Magento/CatalogSearch/_files/full_reindex.php
23-
* @magentoConfigFixture default/catalog/search/engine mysql
2423
* @magentoAppIsolation enabled
2524
*/
2625
public function testLoadWithFilterSearch($request, $filters, $expectedCount)
@@ -155,7 +154,6 @@ public function filtersDataProviderCatalogView()
155154
* Test configurable product with multiple options
156155
*
157156
* @magentoDataFixture Magento/CatalogSearch/_files/product_configurable_two_options.php
158-
* @magentoConfigFixture default/catalog/search/engine mysql
159157
* @magentoDataFixture Magento/CatalogSearch/_files/full_reindex.php
160158
* @magentoAppIsolation enabled
161159
* @dataProvider configurableProductWithMultipleOptionsDataProvider

dev/tests/integration/testsuite/Magento/Framework/Search/Adapter/Mysql/AdapterTest.php

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@ private function assertOrderedProductIds($queryResponse, $expectedIds)
139139
$this->assertEquals($expectedIds, $actualIds);
140140
}
141141

142-
/**
143-
* @magentoConfigFixture default/catalog/search/engine mysql
144-
*/
145142
public function testMatchQuery()
146143
{
147144
$this->requestBuilder->bind('fulltext_search_query', 'socks');
@@ -154,7 +151,6 @@ public function testMatchQuery()
154151

155152
/**
156153
* @magentoDataFixture Magento/Framework/Search/_files/products_multi_option.php
157-
* @magentoConfigFixture default/catalog/search/engine mysql
158154
*/
159155
public function testMatchOrderedQuery()
160156
{
@@ -170,9 +166,6 @@ public function testMatchOrderedQuery()
170166
$this->assertOrderedProductIds($queryResponse, $expectedIds);
171167
}
172168

173-
/**
174-
* @magentoConfigFixture default/catalog/search/engine mysql
175-
*/
176169
public function testAggregationsQuery()
177170
{
178171
$this->requestBuilder->bind('fulltext_search_query', 'peoples');
@@ -187,9 +180,6 @@ public function testAggregationsQuery()
187180
);
188181
}
189182

190-
/**
191-
* @magentoConfigFixture default/catalog/search/engine mysql
192-
*/
193183
public function testMatchQueryFilters()
194184
{
195185
$this->requestBuilder->bind('fulltext_search_query', 'socks');
@@ -204,8 +194,6 @@ public function testMatchQueryFilters()
204194

205195
/**
206196
* Range filter test with all fields filled
207-
*
208-
* @magentoConfigFixture default/catalog/search/engine mysql
209197
*/
210198
public function testRangeFilterWithAllFields()
211199
{
@@ -219,8 +207,6 @@ public function testRangeFilterWithAllFields()
219207

220208
/**
221209
* Range filter test with all fields filled
222-
*
223-
* @magentoConfigFixture default/catalog/search/engine mysql
224210
*/
225211
public function testRangeFilterWithoutFromField()
226212
{
@@ -233,8 +219,6 @@ public function testRangeFilterWithoutFromField()
233219

234220
/**
235221
* Range filter test with all fields filled
236-
*
237-
* @magentoConfigFixture default/catalog/search/engine mysql
238222
*/
239223
public function testRangeFilterWithoutToField()
240224
{
@@ -247,8 +231,6 @@ public function testRangeFilterWithoutToField()
247231

248232
/**
249233
* Term filter test
250-
*
251-
* @magentoConfigFixture default/catalog/search/engine mysql
252234
*/
253235
public function testTermFilter()
254236
{
@@ -262,8 +244,6 @@ public function testTermFilter()
262244

263245
/**
264246
* Term filter test
265-
*
266-
* @magentoConfigFixture default/catalog/search/engine mysql
267247
*/
268248
public function testTermFilterArray()
269249
{
@@ -276,8 +256,6 @@ public function testTermFilterArray()
276256

277257
/**
278258
* Term filter test
279-
*
280-
* @magentoConfigFixture default/catalog/search/engine mysql
281259
*/
282260
public function testWildcardFilter()
283261
{
@@ -292,8 +270,6 @@ public function testWildcardFilter()
292270

293271
/**
294272
* Request limits test
295-
*
296-
* @magentoConfigFixture default/catalog/search/engine mysql
297273
*/
298274
public function testSearchLimit()
299275
{
@@ -308,8 +284,6 @@ public function testSearchLimit()
308284

309285
/**
310286
* Bool filter test
311-
*
312-
* @magentoConfigFixture default/catalog/search/engine mysql
313287
*/
314288
public function testBoolFilter()
315289
{
@@ -331,8 +305,6 @@ public function testBoolFilter()
331305

332306
/**
333307
* Test bool filter with nested negative bool filter
334-
*
335-
* @magentoConfigFixture default/catalog/search/engine mysql
336308
*/
337309
public function testBoolFilterWithNestedNegativeBoolFilter()
338310
{
@@ -349,8 +321,6 @@ public function testBoolFilterWithNestedNegativeBoolFilter()
349321

350322
/**
351323
* Test range inside nested negative bool filter
352-
*
353-
* @magentoConfigFixture default/catalog/search/engine mysql
354324
*/
355325
public function testBoolFilterWithNestedRangeInNegativeBoolFilter()
356326
{
@@ -367,7 +337,6 @@ public function testBoolFilterWithNestedRangeInNegativeBoolFilter()
367337
/**
368338
* Sample Advanced search request test
369339
*
370-
* @magentoConfigFixture default/catalog/search/engine mysql
371340
* @dataProvider advancedSearchDataProvider
372341
* @param string $nameQuery
373342
* @param string $descriptionQuery
@@ -408,7 +377,6 @@ public function advancedSearchDataProvider()
408377

409378
/**
410379
* @magentoDataFixture Magento/Framework/Search/_files/filterable_attribute.php
411-
* @magentoConfigFixture default/catalog/search/engine mysql
412380
*/
413381
public function testCustomFilterableAttribute()
414382
{
@@ -471,7 +439,6 @@ public function filterByAttributeValuesDataProvider()
471439
* Test filtering by two attributes.
472440
*
473441
* @magentoDataFixture Magento/Framework/Search/_files/filterable_attributes.php
474-
* @magentoConfigFixture default/catalog/search/engine mysql
475442
* @dataProvider filterByAttributeValuesDataProvider
476443
* @param string $requestName
477444
* @param array $additionalData
@@ -508,7 +475,6 @@ public function testFilterByAttributeValues($requestName, $additionalData)
508475
* @param $rangeFilter
509476
* @param $expectedRecordsCount
510477
* @magentoDataFixture Magento/Framework/Search/_files/date_attribute.php
511-
* @magentoConfigFixture default/catalog/search/engine mysql
512478
* @dataProvider dateDataProvider
513479
*/
514480
public function testAdvancedSearchDateField($rangeFilter, $expectedRecordsCount)
@@ -523,7 +489,6 @@ public function testAdvancedSearchDateField($rangeFilter, $expectedRecordsCount)
523489

524490
/**
525491
* @magentoDataFixture Magento/Framework/Search/_files/product_configurable.php
526-
* @magentoConfigFixture default/catalog/search/engine mysql
527492
*/
528493
public function testAdvancedSearchCompositeProductWithOutOfStockOption()
529494
{
@@ -561,7 +526,6 @@ public function testAdvancedSearchCompositeProductWithOutOfStockOption()
561526

562527
/**
563528
* @magentoDataFixture Magento/Framework/Search/_files/product_configurable_with_disabled_child.php
564-
* @magentoConfigFixture default/catalog/search/engine mysql
565529
*/
566530
public function testAdvancedSearchCompositeProductWithDisabledChild()
567531
{
@@ -595,7 +559,6 @@ public function testAdvancedSearchCompositeProductWithDisabledChild()
595559
* and affects search results.
596560
*
597561
* @magentoDataFixture Magento/Framework/Search/_files/search_weight_products.php
598-
* @magentoConfigFixture default/catalog/search/engine mysql
599562
*/
600563
public function testSearchQueryBoost()
601564
{

0 commit comments

Comments
 (0)